forgot one step :/

This commit is contained in:
n 2014-09-28 21:55:24 +02:00
parent c2407ce0bf
commit a5062a80e4

View file

@ -4,6 +4,7 @@
# in case of failure, unepexpected reboot while syncing, etc.: # in case of failure, unepexpected reboot while syncing, etc.:
# - destroy all snapshots on both local & ${bro} # - destroy all snapshots on both local & ${bro}
# - for i in ftp web mail; do zfs snapshot servers/$i/home@newsync ;done
# - for i in ftp web mail; do zfs send servers/$i/home@newsync | ssh ${bro} zfs receive -vFd servers ;done # - for i in ftp web mail; do zfs send servers/$i/home@newsync | ssh ${bro} zfs receive -vFd servers ;done
# - for i in ftp web mail; do zfs rename servers/$i/home@newsync servers/$i/home@prevsync ;done # - for i in ftp web mail; do zfs rename servers/$i/home@newsync servers/$i/home@prevsync ;done
# - ssh ${bro} "for i in ftp web mail; do zfs rename servers/$i/home@newsync servers/$i/home@prevsync ;done" # - ssh ${bro} "for i in ftp web mail; do zfs rename servers/$i/home@newsync servers/$i/home@prevsync ;done"
@ -11,7 +12,7 @@
bro="small" bro="small"
pools="ftp mail web" pools="ftp mail web"
SENDNSCA=/usr/local/sbin/send_nsca\ -H\ <nagios_host>\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg SENDNSCA=/usr/local/sbin/send_nsca\ -H\ 192.168.3.3\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
HOSTNAME=`/bin/hostname -f | /usr/bin/cut -d '.' -f 1,1` HOSTNAME=`/bin/hostname -f | /usr/bin/cut -d '.' -f 1,1`
SERVICENAME=zfsync SERVICENAME=zfsync
LOGFILE=/tmp/zfsync.log LOGFILE=/tmp/zfsync.log