They way we do this here is:

zfs snapshot voln...@snapnow
[i]#code to break on error and email not shown.[/i]
zfs send -i voln...@snapbefore voln...@snapnow | pigz -p4 -1 > file
[i]#code to break on error and email not shown.[/i]
scp /dir/file u...@remote:/dir/file
[i]#code to break on error and email not shown.[/i]
shh u...@remote "gzip -t /dir/file"
[i]#code to break on error and email not shown.[/i]
shh u...@remote "gunzip < /dir/file | zfs receive volname

It works for me and it sends a minimum amount of data across the wire which is 
tested to minimize the chance of inflight issues. Excpet on Sundays when we do 
a full send.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to