Do you know if there's a way to remove (not revert) an external snapshot on a live domain?
I'm trying to backup (live) machines with the shortest downtime possible.
The script I'm using makes a (full) snapshot of a VM, restore its state, copies (with qemu-img convert) the snapshot out of the qcow file and removes the snapshot.
Thanks again,
Davide.
2012/10/24 Eric Blake <eblake@xxxxxxxxxx>
On 10/24/2012 02:27 PM, Davide Guerri wrote:Not with the current qemu implementation. The qemu folks left room in
> Hi all,
> it's possible to do an internal snapshot with the --disk-only option (for
> qcow2 images)?
the 'blockdev-snapshot-async' monitor command to eventually allow for an
internal snapshot, but haven't wired it up yet. But if they ever do
wire it up, then libvirt is ready to support it.
Also, be aware that Peter just posted patches to allow for creating an
>
> The following command
>
> virsh snapshot-create-as my-dom my-snap my-description
>
> creates an internal snapshot but the following
external snapshot without using --disk-only, with much better response
time than internal snapshots take:
https://www.redhat.com/archives/libvir-list/2012-October/msg01290.html
--
>
> virsh snapshot-create-as my-dom my-snap my-description --disk-only
>
> creates an external snapshot.
>
Eric Blake eblake@xxxxxxxxxx +1-919-301-3266
Libvirt virtualization library http://libvirt.org
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users