Implement Linastorage project backups

This commit is contained in:
2026-05-14 12:45:43 -07:00
parent ccc750d789
commit 3fd347d1f6
5 changed files with 347 additions and 8 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=Agrarian project incremental backup to Linastorage
Wants=network-online.target
After=network-online.target mnt-backups-linastorage.automount
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/agrarian-project-backup
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=7
@@ -0,0 +1,11 @@
[Unit]
Description=Run Agrarian project backups every two hours when changes exist
[Timer]
OnCalendar=*-*-* 00/2:13:00
Persistent=true
RandomizedDelaySec=10m
Unit=agrarian-project-backup.service
[Install]
WantedBy=timers.target