Add -keep-last / --keep-secondly in retention #98
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#98
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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_secondly
because that seemed more consistent with the otherkeep_*
options thankeep_last
did.