Add -keep-last / --keep-secondly in retention #98
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add:
keep-last / keep-secondly
support
borg 1.1.7 have this prune options
as mention in doc site https://borgbackup.readthedocs.io/en/stable/usage/prune.html
Great idea! I hadn't seen these new options. Should be pretty straight-forward to add, assuming we don't care that they don't work in earlier versions of Borg.
Done! And just released in borgmatic 1.2.7.
I opted to call the new option
keep_secondlybecause that seemed more consistent with the otherkeep_*options thankeep_lastdid.