[libvirt-users] virsh snapshot-create persistent through destroy(undefine)
Eric Blake
eblake at redhat.com
Tue Jan 27 17:51:55 UTC 2015
On 01/27/2015 03:10 AM, Yitao Jiang wrote:
> Hi,
>
> If i take a snapshot of a qcow2 image backed domain via virsh
> snapshot-create domainID and I shutdown the machine (and probably destroy
> the domain if virsh list still shows it running), and then undeinfed the
> domain will that snapshot still exist and be active when I define and
> start the domain back up?
Shutdown/destroy does not lose track of snapshot information. Undefine
does; but it only loses track of the metadata; the snapshot data still
exists, and you could re-create it with virsh snapshot-create --redefine
after the domain is redefined, if you want to still revert to that state.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150127/18c1e497/attachment.sig>
More information about the libvirt-users
mailing list