From 58a1cbd06e7e3d77227b3ca089284658b4e0d282 2024-02-10 22:01:28 From: Branko Majic Date: 2024-02-10 22:01:28 Subject: [PATCH] MAR-191: Using pexpect+sftp still required for Duplicity backup: - From what I can tell even Debian 11 Bullseye duplicyt has similar limitation like the Buster version. --- diff --git a/roles/backup_client/tasks/main.yml b/roles/backup_client/tasks/main.yml index 722030b77f096a660cb643e37c238a7c19624c3d..d8f4d79bd5a8e73db43ab21939b9f6f69915ed83 100644 --- a/roles/backup_client/tasks/main.yml +++ b/roles/backup_client/tasks/main.yml @@ -1,7 +1,7 @@ --- # See duply_main_conf.j2 for details on why this is required (at least -# on Debian 10 Buster). With newer versions of Debian it might be +# on Debian 11 Bullseye). With newer versions of Debian it might be # possible to switch to Paramiko backend. - name: Install pexpect for pexpect+sftp Duplicity backend apt: diff --git a/roles/backup_client/templates/duply_main_conf.j2 b/roles/backup_client/templates/duply_main_conf.j2 index 97260ddebc19cebc506a5908f2c2ee6f3e123a7a..e19ec72df902180e3db2f79d616b59797e51a83c 100644 --- a/roles/backup_client/templates/duply_main_conf.j2 +++ b/roles/backup_client/templates/duply_main_conf.j2 @@ -14,7 +14,7 @@ GPG_OPTS="--homedir /etc/duply/main/gnupg/ --trust-model always" # DUPL_PARAMS and --ssh-options): # # - Pass in custom options for user/global known_hosts files (not -# possible with Duplicity shipping with Debian 10 Buster). +# possible with Duplicity shipping with Debian 11 Bullseye). # - Reduce logging verbosity (avoiding output from sftp that mentions # updates of user's known_hosts file with IP addresses). TARGET='pexpect+sftp://{{ backup_client_username }}@{{ backup_server }}:{{ backup_server_port }}/{{ backup_server_destination }}'