Stagger backup times
This commit is contained in:
parent
7063e55ea9
commit
5ac5e2f8ab
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue