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.
#### 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.
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.
Will be part of the next release.
Just released in borgmatic 1.7.3!