> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Eff Norwood
> 
> Are there any gotchas that I should be aware of? Also, at what level
should I
> be taking the snapshot to do the zfs send? At the primary pool level or at
the
> zvol level? Since the targets are to be exact replicas, I presume at the
primary
> pool level (e.g. "tank") rather than for every zvol (e.g. tank/prod/vol1)?

I don't think you have any choice.  There is such a thing as "zfs send" and
there is no such thing as "zpool send."  You can use -R for replication
recursive, which is kind of like doing the zpool directly...  But not
exactly.

The only gotcha is to ensure your applications (whatever they are) are
resilient to power failure.  Because the zfs snapshot will literally produce
a block-level snapshot of the way the disks are right now, at this instant.
If you ever need to restore, then it will be as-if you sustained a power
loss and came back online.

The most notable such situation would probably be databases, if you have
any.  Ensure to use a database backup tool to export the database to a
backup file, and then send the filesystem.  Or else momentarily stop the
database services while you take the snapshot.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to