Fix a ZFS error during snapshot cleanup (#1001).

This commit is contained in:
Dan Helfman
2025-02-23 17:01:35 -08:00
parent 8854b9ad20
commit 3bca686707
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
1.9.13.dev0
*
* #1001: Fix a ZFS error during snapshot cleanup.
1.9.12
* #1005: Fix the credential hooks to avoid using Python 3.12+ string features. Now borgmatic will
+1 -1
View File
@@ -420,7 +420,7 @@ def remove_data_source_dumps(hook_config, config, borgmatic_runtime_directory, d
continue
if not dry_run:
shutil.rmtree(snapshots_directory)
shutil.rmtree(snapshot_mount_path, ignore_errors=True)
# Destroy snapshots.
full_snapshot_names = get_all_snapshots(zfs_command)