|
Re: [osol-discuss] How to "mirror" an entire zfs pool to another pool: msg#00899opensolaris-discuss
Actually that would be a recursive "zfs snapshot", then a recursive "zfs send" of the pool's root dataset. However if you also want to carry over all the history of snapshots, you'd probably have to write a short script to list all snapshots and clones and "zfs send/recv" them in correct order as incremental snapshots, starting with the oldest one as the full snapshot for each dataset. Note that datasets' properties may be carried over depending on [Open]Solaris and ZFS software versions. That is, compressed filesystems' data would be written compressed with the algorithm currently specified for the source dataset. If this setting was changed over the dataset's lifetime, there may be complications (data using different amount of space than you expected). Also note that the pool may also have a number of properties (as seen in "zpool get all pool" if supported by your pool version) and you may want to carry these over as well. // HTH, Jim -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@xxxxxxxxxxxxxxx
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |