add export service

This commit is contained in:
nd 2021-06-06 01:37:01 +02:00
parent d01de238a7
commit dbb78ed37f
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
7 changed files with 86 additions and 4 deletions

View file

@ -9,6 +9,9 @@ backups:
check:
enabled: true
OnCalendar: "monday 5:{{ 60|random(seed=(inventory_hostname + 'backups_jobs')) }}"
export:
enabled: false
OnCalendar: "{{ [21,22,23]|random(seed=(inventory_hostname + 'backups_export_h')) }}:{{ 60|random(seed=(inventory_hostname + 'backups_export_m')) }}"
backends:
restic:
url: /var/backup-client/restic
@ -21,6 +24,8 @@ backups:
weeks: 16
months: 12
years: 3
export:
destinations: []
exclude_files:
'/tmp': true
'/var/tmp': true