[OpenIndiana-discuss] Create zone from older snapshot (not rollback)
Bastian Rosner
Bastian.Rosner at htw-berlin.de
Fri Sep 14 11:38:29 UTC 2012
On 09/12/2012 04:26 PM, Mark Creamer wrote:
> I need to use an existing snapshot of a zone from a few weeks ago, and use
> it to create a new zone so I can boot it and get to the file system. I
> can't rollback the existing "production" zone so I have to use this older
> snapshot to create a new one, I think. Am I thinking this through
> correctly? I know how to clone existing zones, but not sure how to do it
> from a snapshot.
> Thanks
>
I guess you already tried:
zoneadm -z new_zone clone -s /snapshot/of/old-zone at weeks-ago old-zone
If this won't work - maybe because of
http://defect.opensolaris.org/bz/show_bug.cgi?id=17387 - just use zfs
send to receive the snapshot as your new_zones filesystem and do a
"zoneadm -z new_zone attach"
Regards,
Bastian
More information about the OpenIndiana-discuss
mailing list