Set allways the borg_ssh_key_file and borg_ssh_command to load the right ssh-key. Add borg_ssh_key_type to select the key type by user

This commit is contained in:
Frank Dornheim 2023-03-11 23:12:07 +01:00
parent 4d385e8fe8
commit 644a33f974

View File

@ -5,9 +5,10 @@ borg_one_file_system: true
borg_exclude_from: []
borg_encryption_passcommand: false
borg_lock_wait_time: 5
borg_ssh_command: false # If you use a useraccount and not root see the next lines
# borg_ssh_key_file: "{{ backup_user_info.home }}/.ssh/id_rsa"
borg_ssh_key_file: "{{ backup_user_info.home }}/.ssh/backup"
borg_ssh_command: "ssh -i {{ backup_ssh_key_file }}"
# borg_ssh_command: "ssh -i {{ backup_ssh_key_file }} -o StrictHostKeyChecking=no"
borg_ssh_key_type: "rsa"
borg_remote_path: false
borg_remote_rate_limit: 0
borg_retention_policy: