Sample files for triggering borgmatic from a systemd timer.

This commit is contained in:
2016-07-04 09:19:34 -07:00
parent 4447956da7
commit 49c4f483fd
5 changed files with 40 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
[Unit]
Description=borgmatic backup
[Service]
Type=oneshot
ExecStart=/usr/local/bin/borgmatic

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Run borgmatic backup
[Timer]
OnCalendar=daily
[Install]
WantedBy=timers.target