Sun, 25 Dec 2022 13:26:18 +0200
Prune also needs --glob-archives instead of --prefix
borgend/backup.py | file | annotate | diff | comparison | revisions |
--- a/borgend/backup.py Wed Nov 23 10:57:57 2022 +0200 +++ b/borgend/backup.py Sun Dec 25 13:26:18 2022 +0200 @@ -491,7 +491,7 @@ params.create, self.paths) elif op.type==Operation.PRUNE: self.__do_launch(op, self.repository.location, params.common, - [{'prefix': self.archive_prefix}] + params.prune) + [{'glob-archives': self.archive_prefix + '*'}] + params.prune) elif op.type==Operation.LIST: self.__do_launch(op, self.repository.location, params.common,