Re: [zfs-discuss] replication a whole zpool

2007-04-12 Thread Nicholas Lee
On 4/13/07, Eric Schrock <[EMAIL PROTECTED]> wrote: You want: 6421958 want recursive zfs send ('zfs send -r') Which is actively being worked on. Exactly. :D "Perhaps they all have to have the same snapnames (which will be easier with 'zfs snapshot -r')." Maybe just assume that anyone who

Re: [zfs-discuss] replication a whole zpool

2007-04-12 Thread Eric Schrock
You want: 6421958 want recursive zfs send ('zfs send -r') Which is actively being worked on. - Eric On Fri, Apr 13, 2007 at 05:41:38PM +1200, Nicholas Lee wrote: > Rather having to write something like: > > #!/bin/bash > > TIME=`date '+%Y-%m-%d-%H:%M:%S'` > zfs snapshot -r [EMAIL PROTECTED] >

[zfs-discuss] replication a whole zpool

2007-04-12 Thread Nicholas Lee
Rather having to write something like: #!/bin/bash TIME=`date '+%Y-%m-%d-%H:%M:%S'` zfs snapshot -r [EMAIL PROTECTED] for i in `zfs list -H | grep $TIME | cut -f1` ; do zfs send $i | ssh ihstore zfs receive -d tank/sstore-ztank ; done That is just a first run, I'll need to add a a touch /zta