I apologize for replying in the middle of this thread, but I never
saw the initial snapshot syntax of mypool2, which needs to be
recursive (zfs snapshot -r mypo...@snap) to snapshot all the 
datasets in mypool2. Then, use zfs send -R to pick up and
restore all the dataset properties.

What was the original snapshot syntax?

Cindy



----- Original Message -----
From: Ian Collins <i...@ianshome.com>
Date: Tuesday, July 28, 2009 5:53 pm
Subject: Re: [zfs-discuss] zfs send/recv syntax
To: "zfs-discuss@opensolaris.org" <zfs-discuss@opensolaris.org>, "Joseph L. 
Casale" <jcas...@activenetwerx.com>

>  On Wed 29/07/09 10:49 , "Joseph L. Casale" jcas...@activenetwerx.com 
> sent:
> 
> > >Yes, use -R on the sending side and -d on the receiving side.
> 
> > I tried that first, going from Solaris 10 to osol 0906:
> > 
> > # zfs send -vR mypo...@snap|ssh j...@catania "pfexec /usr/sbin/zfs 
> recv -dF mypool/somename"
> > didn't create any of the zfs filesystems under mypool2?
> 
> What happens if you try it on the local host where you can just pipe 
> from the send to the receive (no need for ssh)?
> 
> zfs send -R mypo...@snap |  zfs recv -d -n -v  newpool/somename
> 
> Another thing to try is use "-n -v" on the receive end to see what 
> would be created id -n were omitted.
> 
> I find -v more useful on the receiving side than on the send.
> 
> -- 
> Ian
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to