delete and rdelete actions #893

Merged
witten merged 5 commits from delete_action into main 2024-07-04 06:07:30 +00:00
Owner

Implementation of #298: borgmatic delete and rdelete actions. Like with other actions (list/rlist, info/rinfo), if you to run the archive-oriented action (delete) without an archive (or related flags), borgmatic will transparently pass through to the repository-oriented action (rdelete).

Unlike other borgmatic actions, delete does not look at the match_archives/archive_name_format configuration options when determining which archives to use. That's because I figured it would be better to require the user to be explicit about which archives to delete rather than assuming.

Still to-do:

  • automated tests
  • dry run support
  • manual testing with Borg 1
  • manual testing with Borg 2
  • double check that the use cases in #298 are satisfied
  • documentation other than command-line help?
Implementation of #298: borgmatic `delete` and `rdelete` actions. Like with other actions (`list`/`rlist`, `info`/`rinfo`), if you to run the archive-oriented action (`delete`) without an archive (or related flags), borgmatic will transparently pass through to the repository-oriented action (`rdelete`). Unlike other borgmatic actions, `delete` does *not* look at the `match_archives`/`archive_name_format` configuration options when determining which archives to use. That's because I figured it would be better to require the user to be explicit about which archives to delete rather than assuming. Still to-do: * [x] automated tests * [x] dry run support * [x] manual testing with Borg 1 * [x] manual testing with Borg 2 * [x] double check that the use cases in #298 are satisfied * [x] ~~documentation other than command-line help?~~
witten added 2 commits 2024-06-28 23:32:19 +00:00
witten added 1 commit 2024-06-29 03:57:14 +00:00
witten added 1 commit 2024-07-03 03:27:00 +00:00
witten added 1 commit 2024-07-03 06:12:19 +00:00
witten changed title from WIP: delete and rdelete actions to delete and rdelete actions 2024-07-04 06:07:08 +00:00
witten merged commit ba053de8f7 into main 2024-07-04 06:07:30 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#893
No description provided.