add new and improved backup-scripts system
This commit is contained in:
parent
6c77886916
commit
77e6f77aba
8 changed files with 173 additions and 0 deletions
10
roles/any.tools.backup-scripts/templates/backup.timer.j2
Normal file
10
roles/any.tools.backup-scripts/templates/backup.timer.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Timer for backup: {{ item.name }}
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* {{ backup_timer_hour }}:{{ backup_timer_minute }}:00
|
||||
RandomizedDelaySec={{ backup_timer_delay_sec | default('0') }}
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue