src/api2/backup.rs: replace upload_config with upload_blob

This commit is contained in:
Dietmar Maurer committed 2019-06-23 11:44:30 +02:00
1 parent a38c5d4d12
commit cb08ac3efe
5 files changed
+50 -31

No files matched your search

+1 -1
View File
@@ -482,7 +482,7 @@ fn create_backup(
match backup_type {
BackupType::CONFIG => {
println!("Upload config file '{}' to '{:?}' as {}", filename, repo, target);
client.upload_config(&filename, &target).wait()?;
client.upload_blob(&filename, &target, crypt_config.clone(), true).wait()?;
}
BackupType::PXAR => {
println!("Upload directory '{}' to '{:?}' as {}", filename, repo, target);