Stagger backup times

This commit is contained in:
Jake Howard 2021-05-23 20:37:41 +01:00
parent 7063e55ea9
commit 5ac5e2f8ab
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -35,7 +35,8 @@
- name: Schedule backup - name: Schedule backup
cron: cron:
name: restic backup name: restic backup
special_time: daily hour: 2
minute: 0
job: /home/restic/backrest.sh cron_backup job: /home/restic/backrest.sh cron_backup
user: restic user: restic
become: true become: true
@ -43,7 +44,9 @@
- name: Schedule forget - name: Schedule forget
cron: cron:
name: restic forget name: restic forget
special_time: weekly hour: 5
minute: 0
weekday: 0
job: /home/restic/backrest.sh cron_forget job: /home/restic/backrest.sh cron_forget
user: restic user: restic
become: true become: true