Support for Borg 2 beta 3 --match-archives #591

Closed
opened 6 months ago by witten · 2 comments
Owner

What I'm trying to do and why

Borg 2 beta 3 has renamed --glob-archives to --match-archives and changed its syntax. borgmatic will need to support this change so as to continue supporting Borg 2 in general.

So as part of this ticket, branch in borgmatic on whether the current system is is running Borg 2 beta 3 or later. If it is, use --match-archives instead of --glob-archives. Otherwise, fall back to --glob-archives.

Related: #557, #588.

#### What I'm trying to do and why Borg 2 beta 3 has [renamed `--glob-archives` to `--match-archives` and changed its syntax](https://borgbackup.readthedocs.io/en/2.0.0b3/changes.html#version-2-0-0b3-2022-10-02). borgmatic will need to support this change so as to continue supporting Borg 2 in general. So as part of this ticket, branch in borgmatic on whether the current system is is running Borg 2 beta 3 or later. If it is, use `--match-archives` instead of `--glob-archives`. Otherwise, fall back to `--glob-archives`. Related: #557, #588.
Poster
Owner

Will be part of the next release.

Will be part of the next release.
witten closed this issue 6 months ago
Poster
Owner

Just released in borgmatic 1.7.3!

Just released in borgmatic 1.7.3!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#591
Loading…
There is no content yet.