[Borgbackup] extended prune

Dan Christensen jdc at uwo.ca
Fri Dec 23 19:33:23 EST 2016


On Dec 23, 2016, Mario Emmenlauer <mario at emmenlauer.de> wrote:

> Finally, I seemed unable to get prune do exactly what I hoped for.
> It might be me, but I did not find exactly the right combination of
> options. I take backups once per week, and if they are older than
> one year, I'd like to keep only every other week.

Would "--keep-within 1y --keep-monthly -1" do the trick?  I think it
would occasionally skip two weeklies, if three happened to fit into one
month, but maybe that's close enough?  You can test with "-n".

Dan


More information about the Borgbackup mailing list