mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 07:43:09 +00:00
Specify the use of a sh:
-style pattern when pruning with borg v2.
With borg v2.0.0b3 the default pattern style was changed to identical matching. * src/vorta/borg/prune.py (BorgPruneJob.prepare)
This commit is contained in:
parent
ba5c7c5511
commit
e275215c71
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def prepare(cls, profile):
|
|||
formatted_prune_prefix = format_archive_name(profile, profile.prune_prefix)
|
||||
|
||||
if borg_compat.check('V122'):
|
||||
pruning_opts += ['-a', formatted_prune_prefix + '*'] # sh: pattern
|
||||
pruning_opts += ['-a', 'sh:' + formatted_prune_prefix + '*']
|
||||
else:
|
||||
pruning_opts += ['--prefix', formatted_prune_prefix]
|
||||
|
||||
|
|
Loading…
Reference in a new issue