ansible/group_vars/all/restic.yml

18 lines
420 B
YAML

---
glob_restic:
config:
base:
to_exclude:
- /var/cache
- /var/lib/lxcfs
to_backup:
- /etc
- /var
retention:
- [--keep-daily, 2]
- [--keep-weekly, 2]
- [--keep-monthly, 2]
- [--keep-yearly, 1]
remote:
- rest:http://{{ ansible_hostname }}:{{ vault.restic[ansible_hostname].rest_password }}@172.16.10.14/{{ ansible_hostname }}/