[Borgbackup] Separating repos

JK qzwx2007 at gmail.com
Tue Feb 5 16:33:46 EST 2019


How to prune gradually the old repo: Take backup into the old repo as 
usually, but change the content of the backup. Archive could even be 
empty. Then run your prune algorithm as usually. Prune works gradually 
because there are daily new archives.

On 5.2.2019 18.06, Ed Blackman wrote:
> On Mon, Feb 04, 2019 at 07:20:12PM -0800, David Gasaway wrote:
>> On Mon, Feb 4, 2019 at 5:11 PM Ed Blackman <ed at edgewood.to> wrote:
>>> I thought about that, but the problem is that the "keep" purges won't
>>> purge anything if you're not adding anything.  The last X
>>> daily/weekly/monthly backups keep being the last X if you're not adding
>>> any new ones.  I did think about adding a flag (--keep-absolute-time ??
>>> naming is hard) that would change the sense of --keep-daily etc such
>>> that --keep-absolute-time --keep-daily 7 would purge any daily backups
>>> older than 7 days from "now" even if that would leave less than 7.
>> This option already exists, see --keep-within.
> 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.
>


More information about the Borgbackup mailing list