src/api2/backup.rs: replace upload_config with upload_blob
This commit is contained in:
1 parent
a38c5d4d12
commit
cb08ac3efe
5 files changed
+50
-31
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user