Browse Source

archive deletion: use store soft-deletion

This keeps the object, just renames it to "*.del".
Thomas Waldmann 7 months ago
parent
commit
c8bce0329d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/manifest.py

+ 1 - 1
src/borg/manifest.py

@@ -327,7 +327,7 @@ class Archives:
         # delete an archive
         assert isinstance(id, bytes)
         assert not self.legacy
-        self.repository.store_delete(f"archives/{bin_to_hex(id)}")
+        self.repository.store_move(f"archives/{bin_to_hex(id)}", delete=True)  # soft-delete
 
     def list(
         self,