diff --git a/src/api2/admin/datastore.rs b/src/api2/admin/datastore.rs index 405a3c24..79add173 100644 --- a/src/api2/admin/datastore.rs +++ b/src/api2/admin/datastore.rs @@ -727,7 +727,7 @@ fn prune( })); if !(dry_run || keep) { - datastore.remove_backup_dir(&info.backup_dir, true)?; + datastore.remove_backup_dir(&info.backup_dir, false)?; } }