Skip to content

Instantly share code, notes, and snippets.

@patmaddox
Created November 28, 2022 19:23
Show Gist options
  • Save patmaddox/ac78b5467a0e10d552e362ff97932bf5 to your computer and use it in GitHub Desktop.
Save patmaddox/ac78b5467a0e10d552e362ff97932bf5 to your computer and use it in GitHub Desktop.
sanoid syncoid script
#!/bin/sh
set -e
sudo sanoid --cron --quiet
sudo syncoid --quiet -r --no-privilege-elevation --no-sync-snap --sendoptions="w" --recvoptions="u" --sshkey=/usr/home/patmaddox/.ssh/nas-rsyncnet zdata/crypt/istudo [email protected]:zsync/snaps/istudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment