vault backup: 2026-05-14 12:30:07

This commit is contained in:
2026-05-14 12:30:08 +01:00
parent f740ed946a
commit 4acd0b168f
2 changed files with 30 additions and 12 deletions
+9 -4
View File
@@ -25,7 +25,12 @@ I've set this up on on a [[Proxmox]] backup machine, it creates the zfs snapshot
`/etc/sanoid/sanoid.conf`
`/etc/sanoid/sanoid.defaults.conf`
`/usr/local/bin/zfs-nightly-backup.sh`
- setup the cron job
`crontab -e`
`0 3 * * * /usr/local/bin/zfs-nightly-backup.sh > /var/log/zfs-backup.log 2>&1`
### scheduled snapshots and prune
by default, when installing via `apt` it starts a timer service that executes every 15minutes. for my requirements i need to disable this for now
`systemctl stop timer.sanoid.service`
`systemctl disable time.sanoid.service`