From c8bce0329dce1e9a2687a9313913fcde55536460 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Nov 2024 11:40:00 +0100 Subject: [PATCH] archive deletion: use store soft-deletion This keeps the object, just renames it to "*.del". --- src/borg/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/manifest.py b/src/borg/manifest.py index 9586b5895..6df834cb5 100644 --- a/src/borg/manifest.py +++ b/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,