Skip to content

replace usages of --prefix with --glob-archives#1

Merged
juanep97 merged 1 commit intojuanep97:masterfrom
jkhsjdhjs:fix/prune_prefix_deprecation
Dec 30, 2024
Merged

replace usages of --prefix with --glob-archives#1
juanep97 merged 1 commit intojuanep97:masterfrom
jkhsjdhjs:fix/prune_prefix_deprecation

Conversation

@juanep97
Copy link
Owner

@juanep97 juanep97 commented Dec 30, 2024

--prefix has been deprecated in borg 1.2 and results in a warning each time it is used. Instead, --glob-archives can be used together with a wildcard (*).

In version 2.0, the --glob-archives option will be removed again, so this will need to be adjusted again. --match-archives will be introduced instead: https://borgbackup.readthedocs.io/en/2.0.0b5/usage/help.html#borg-help-match-archives


Original PR g3492#17 by https://github.com/jkhsjdhjs

--prefix has been deprecated in borg 1.2 and results in a warning each
time it is used. Instead, --glob-archives can be used together with a
wildcard (*).

In version 2.0, the --glob-archives option will be removed again, so this
will need to be adjusted again. --match-archives will be introduced
instead: https://borgbackup.readthedocs.io/en/2.0.0b5/usage/help.html#borg-help-match-archives
@juanep97 juanep97 merged commit c1a71d3 into juanep97:master Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants