# zfs snapshot srcTank/setA@snap01 # zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT srcTank/setA@snap01 0 - 1.93T -
# zfs send srcTank/setA@snap01 > /var/tmp/hoge.img # zfs receive bakup/hoge < /var/tmp/hoge.img # zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT srcTank/setA@snap01 0 - 1.93T - bakup/hoge@snap01 0 - 1.93T -
# zfs send srcTank/setA@snap01 | zfs receive rcvTank/setA
# zfs send srcTank/setA@snap01 | ssh 192.168.xxx.xxx zfs receive rcvTank/setA
# zfs snapshot srcTank/setA@snap02 # zfs send -i srcTank/setA@snap01 srcTank/setA@snap02 | ssh 192.168.xxx.xxx zfs receive rcvTank/setA
# zfs send -i srcTank/setA@snap01 srcTank/setA@snap02 | gzip -c | ssh 192.168.xxx.xxx "gzip -cd |zfs recv -vdF rcvTank"
# nc -l -p ポート番号 -w 120 | zfs recv -v rcvTank/setA
# zfs send srcTank/setA@snap01 | nc 192.168.xxx.xxx ポート番号
zfs send pool/data@20121207 | dd obs=1m | dd obs=1m | gzip -9 | ssh somewhere "cat > file.gz"
# zfs send -R <スナップショット> | mbuffer -s 128k -m 1G | ssh <ユーザ>@<リモートホスト> 'mbuffer -s 128k -m 1G | zfs receive <展開先ディレクトリ>'
【書きかけです】1)
# zfs send zdiving@today > zdiving.zstream # zstreamdump < zdiving.zstream
zfs send mysnapshot | gzip -c -3 > /somestorage/mysnap.gz gzip -t mysnap.gz