Changeset - 58a1cbd06e7e
[Not reviewed]
0 2 0
Branko Majic (branko) - 2 months ago 2024-02-10 22:01:28
branko@majic.rs
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.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
roles/backup_client/tasks/main.yml
Show inline comments
 
---
 

	
 
# 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:
roles/backup_client/templates/duply_main_conf.j2
Show inline comments
 
@@ -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 }}'
0 comments (0 inline, 0 general)