src/api2/backup.rs: replace upload_config with upload_blob
This commit is contained in:
@ -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