Newer
Older
jobs:
retention:
enabled: true
OnCalendar: "1:{{ 60|random(seed=(inventory_hostname + 'backups_jobs')) }}"
run:
enabled: true
OnCalendar: "3,11,19:{{ 60|random(seed=(inventory_hostname + 'backups_jobs')) }}"
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
repo_type: local
mode: vm-via-hypervisor
enabled: True
retention:
hours: 12
days: 14
weeks: 16
months: 12
years: 3
remote_sftp_user:
name: backup
host: ~
chroot_basepath: "/var/chroots/{{ inventory_hostname }}"
storage_path: "/srv/backups/{{ inventory_hostname }}"
groups: []
group: nogroup
enabled: False
create_storage_folder: True
'/tmp/*': true
'/var/tmp/*': true
'/var/cache/*': true
# Workaround for https://github.com/restic/restic/issues/3366
'/proc': true
'/dev': true