Created
November 28, 2022 19:23
-
-
Save patmaddox/ac78b5467a0e10d552e362ff97932bf5 to your computer and use it in GitHub Desktop.
sanoid syncoid script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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