feat: adds borg, timers and systemd service support
This commit is contained in:
12
config/ansible/templates/borg-backup.timer.j2
Normal file
12
config/ansible/templates/borg-backup.timer.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Run Borg Backup Daily
|
||||
Requires=borg-backup.service
|
||||
|
||||
[Timer]
|
||||
# Run daily at 2 AM
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
RandomizedDelaySec=1800
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user