Wrap backup script in systemd service and timer
This commit is contained in:
parent
cf23a37aa0
commit
b7183ceeae
3 changed files with 52 additions and 8 deletions
10
roles/backups/files/borg_backup.timer
Normal file
10
roles/backups/files/borg_backup.timer
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=BorgBase backup timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
RandomizedDelaySec=900
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue