This content has been marked as final. Show 5 replies
The short answer is yes. You can create a snapshot on the source data pool, use "zfs send" to create a stream of the snapshot" and pipe it over using (for example) ssh to the destination machine which can store it using "zfs receive". It is also possible to do incremental transfers. I'd recommend that you check out the documentation (zfs manual page, reference manuals, blogs, etc.) for additional information. I'm not in a position to give you exact references now but perhaps someone else will.
but I know that the zfs snapshot is copy on write where you must have the source data for restore the snapshot... and in the second pool I have only the snapshot. Is it wrong?
of course, I'm writing this thread under 'Solaris Zone' because in DATA there is a zone....
Edited by: 853883 on Sep 19, 2012 12:43 PM
I'm a little confused by your statement. When you create a snapshot, you're effectively saving the state of the filesystem at a particular point in time. When you do a zfs send to send the data to the other machine, it sends the filesystem data as it existed at the time of the snapshot (even if the source filesystem has changed since then). So you do transfer the actual data to the other machine so that the filesystem can be recreated there.
yes if you use the zfs send command to save the snapshot and moving it to other system and then using zfs receive to restore.
the zfs dataset will be created.
in this case you have to create the snapshots for all the datasets in the respected pool.
then only we can get the complete pool.
Edited by: muvvas on Sep 26, 2012 9:23 PM