diff --git a/roles/borgbackup_client/templates/config.yaml.j2 b/roles/borgbackup_client/templates/config.yaml.j2 index ead247e..0d9b90d 100644 --- a/roles/borgbackup_client/templates/config.yaml.j2 +++ b/roles/borgbackup_client/templates/config.yaml.j2 @@ -6,6 +6,15 @@ location: repositories: - {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }} +storage: + encryption_passphrase: "{{ borg_encryption_passphrase }}" + ssh_command: ssh -i /etc/borgbackup/id_remote + # compression: 'lz4' + # umask: 0077 + # lock_wait: 5 + # archive_name_format: '{hostname}-{now}' + + retention: keep_daily: "{{ borg_keep_daily }}" keep_weekly: "{{ borg_keep_weekly }}" @@ -22,4 +31,3 @@ hooks: - name: all {% endif %} ... -