borgend/backup.py

changeset 147
c42d69c44170
parent 146
e79cc90c7798
--- 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,

mercurial