[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [fedora-virt] VM snapshot with qemu-img



Hi Richard,

I think it is possible using qemu to do a live snapshot provided that you use qcow2 image format.
If you send a savevm to the qemu monitor it will save the RAM cpu position to the qcow2 image and perform a snapshot of all attached device.
you can then get the list of snapshot using info snapshots
and restore it by doing loadvm.

Cheers
Ben


-------- Message initial --------
De: Richard W.M. Jones <rjones redhat com>
À: rt <r_torresa yahoo it>
Cc: fedora-virt redhat com
Sujet: Re: [fedora-virt] VM snapshot with qemu-img
Date: Tue, 22 Sep 2009 13:48:35 +0100

On Mon, Sep 21, 2009 at 10:08:58AM -0700, rt wrote:
> I tried to take snapshot of vm using "qemu-img snapshot" command but
> reverting to a snapshot corrupt the vm disk...

This is only ever going to work if the VM is shut down when
you take the snapshot.

Sorry, but we just don't have the ability to do live snapshots
of running VMs.  It requires a lot of work throughout the stack
(qemu / libvirt / user tools).

Rich.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]