src/api2/admin/datastore.rs - prune: log retention options

This commit is contained in:
Dietmar Maurer
2019-12-14 16:32:16 +01:00
parent 503995c767
commit 236a396aa1
3 changed files with 40 additions and 0 deletions

View File

@ -339,6 +339,7 @@ fn prune(
worker.log("No prune selection - keeping all files.");
return Ok(());
} else {
worker.log(format!("retention options: {}", prune_options.cli_options_string()));
if dry_run {
worker.log(format!("Testing prune on store \"{}\" group \"{}/{}\"",
store, backup_type, backup_id));