src/api2/admin/datastore/backup.rs: improve debug logging

This commit is contained in:
Dietmar Maurer
2019-05-29 10:17:38 +02:00
parent 4ae6551c78
commit 39e60bd6fa
6 changed files with 23 additions and 19 deletions

View File

@ -445,7 +445,7 @@ fn create_backup(
println!("Client name: {}", tools::nodename());
println!("Start Time: {}", backup_time.to_rfc3339());
let client = client.start_backup(repo.store(), "host", &backup_id).wait()?;
let client = client.start_backup(repo.store(), "host", &backup_id, verbose).wait()?;
for (filename, target) in upload_list {
println!("Upload '{}' to '{:?}' as {}", filename, repo, target);