From 202f1c37d29db4787ae434627aba42034fd65063 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 29 Aug 2023 17:40:56 -0400 Subject: [PATCH] fix for duplicity 2.1.0 --- management/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management/backup.py b/management/backup.py index bbad0d3e..85bf6ba4 100755 --- a/management/backup.py +++ b/management/backup.py @@ -67,7 +67,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), @@ -349,7 +349,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"