backup stuff
This commit is contained in:
parent
01b83a80ec
commit
27e036eccd
16 changed files with 513 additions and 0 deletions
11
ansible/roles/backup_source/templates/backup.timer.j2
Normal file
11
ansible/roles/backup_source/templates/backup.timer.j2
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description={{ backup_source_description }} backup
|
||||
|
||||
[Timer]
|
||||
OnCalendar={{ backup_source_on_calendar }}
|
||||
# Persistent: a window missed while the host was down runs on next boot. cron on
|
||||
# a laptop had no equivalent, which is how two backups went unnoticed for months.
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue