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