[Borgbackup] Separating repos

David Gasaway dave at gasaway.org
Tue Feb 5 21:14:57 EST 2019


On Tue, Feb 5, 2019 at 8:12 AM Ed Blackman <ed at edgewood.to> wrote


> That would work for the simple example above, but if I have a prune that
> keeps, eg, the last 7 dailies, the last 4 weeklies, and the last 3
> monthlies, there's no way I can think of to *gradually* prune those
> backups.  --keep-within 3m would keep them all until the end of the 3
> months, then drop them all at once.
>

'--keep-within 3m' would keep anything created in the last three months.
If run daily in your example, it would first prune the oldest monthly.
After a month, it would prune another monthly.  After about another month,
it would prune the last monthly and the oldest weekly.  After another week,
another weekly would get pruned.  After running for a week short of three
months, it would prune the last weekly and start pruning the dailies.  In
other words, it would gradually roll them off.

How does this differ from the new option that you had in mind?

-- 
-:-:- David K. Gasaway
-:-:- Email: dave at gasaway.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20190205/52587f53/attachment.html>


More information about the Borgbackup mailing list