diff --git a/management/backup.py b/management/backup.py index 06285ba5..b7102e5b 100755 --- a/management/backup.py +++ b/management/backup.py @@ -57,7 +57,7 @@ def backup_status(env): "/usr/bin/duplicity", "collection-status", "--archive-dir", backup_cache_dir, - "--gpg-options", "--cipher-algo=AES256", + "--gpg-options", "'--cipher-algo=AES256'", "--log-fd", "1", get_duplicity_target_url(config), ] + get_duplicity_additional_args(env), @@ -321,7 +321,7 @@ def perform_backup(full_backup): "--archive-dir", backup_cache_dir, "--exclude", backup_root, "--volsize", "250", - "--gpg-options", "--cipher-algo=AES256", + "--gpg-options", "'--cipher-algo=AES256'", env["STORAGE_ROOT"], get_duplicity_target_url(config), "--allow-source-mismatch"