initial commit, here be dragons
This commit is contained in:
11
roles/borg/files/borgmatic.service
Normal file
11
roles/borg/files/borgmatic.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=borgmatic backup
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/borgmatic
|
||||
# Move it into the background:
|
||||
Nice=15
|
||||
IOSchedulingClass=best-effort
|
||||
IOSchedulingPriority=6
|
||||
|
6
roles/borg/files/borgmatic.timer
Normal file
6
roles/borg/files/borgmatic.timer
Normal file
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Run borgmatic backup
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 6:30:00
|
||||
OnCalendar=*-*-* 18:30:00
|
Reference in New Issue
Block a user