[borgbackup_client] configure encryption passphrase and storage

This commit is contained in:
otthorn 2021-03-12 01:46:35 +01:00
parent d7a4995496
commit 965bbe62a4
1 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,15 @@ location:
repositories: repositories:
- {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }} - {{ 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: retention:
keep_daily: "{{ borg_keep_daily }}" keep_daily: "{{ borg_keep_daily }}"
keep_weekly: "{{ borg_keep_weekly }}" keep_weekly: "{{ borg_keep_weekly }}"
@ -22,4 +31,3 @@ hooks:
- name: all - name: all
{% endif %} {% endif %}
... ...