1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

fix for duplicity 2.1.0

This commit is contained in:
downtownallday 2023-08-29 17:40:56 -04:00
parent 6ba5e9045d
commit 202f1c37d2

View File

@ -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"