Yes, although it's slightly indirect: - make a clone of the snapshot you want to roll back to - promote the clone
See 'zfs promote' for details. Jeff On Fri, Dec 11, 2009 at 08:37:04AM +0100, Alexander Skwar wrote: > Hi. > > Is it possible on Solaris 10 5/09, to rollback to a ZFS snapshot, > WITHOUT destroying later created clones or snapshots? > > Example: > > --($ ~)-- sudo zfs snapshot rpool/r...@01 > > --($ ~)-- sudo zfs snapshot rpool/r...@02 > > --($ ~)-- sudo zfs clone rpool/r...@02 rpool/ROOT-02 > > --($ ~)-- LC_ALL=C sudo zfs rollback rpool/r...@01 > cannot rollback to 'rpool/r...@01': more recent snapshots exist > use '-r' to force deletion of the following snapshots: > rpool/r...@02 > > So it isn't as simple as that. But what needs to be done, to preserve > rpool/ROOT-02? > > Actually, I'm not concerned (that much) with preserving the clone > rpool/ROOT-02. But I'd like to keep the contents of rpool/ROOT as > it was when I created the @02 snapshot. > > Is the only possible way to create a backup of rpool/r...@02 (eg. > of the snapshot directory /rpool/ROOT/.zfs/snapshots/02) and then > restore it later on (eg. backup to tape, backup to someother filesystem > using zfs send|recv, rsync, tar, ...)? > > Thanks a lot, > > Alexander > -- > ? Keine Internetzensur in Deutschland! ? http://zensursula.net ? ? > ?? ? Lifestream (Twitter, Blog, ?) ??http://alexs77.soup.io/ ? ? ? > ? Chat (Jabber/Google Talk) ? a.sk...@gmail.com , AIM: alexws77 ?? > _______________________________________________ > 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