Files
bobbie-pkm/_Inbox/Sanoid and Syncoid Setup.md
T

1.2 KiB

category, type, title, created, date, tags
category type title created date tags
Note
Log
Sanoid and Syncoid Setup 2026-05-12T21:09:25 2026-05-12

I've set this up on on a Proxmox backup machine, it creates the zfs snapshots on the remote machine and them pulls them into it;s own zfs pool.

the setup

  • install sanoid on backup and source host (not strictly required on both, but sanoid uses tools on both machine for fast and reliable connection) apt install sanoid
  • if you don't run sanoid on one machine, ensure the following folders are created on it mkdir -p /var/cache/sanoid /var/run/sanoid
  • use root accounts for ssh connections, the zfs commands need root access (tried to get it to work without and it was turtles all the way down)
  • add conf files from github to /etc/sanoid/ and setup
  • run manual backup (add --debug flag for more info) syncoid -r --use-hold --preserve-recordsize --preserve-properties root@192.168.1.43:noggapool/music stanleypool/music
  • config files are found here: /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