Re: Disk-only internal snapshot

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

 



Thank you Eric for the quick reply!
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:
> Hi all,
> it's possible to do an internal snapshot with the --disk-only option (for
> qcow2 images)?

Not with the current qemu implementation.  The qemu folks left room in
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.

>
> The following command
>
> virsh snapshot-create-as my-dom my-snap my-description
>
> creates an internal snapshot but the following

Also, be aware that Peter just posted patches to allow for creating an
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

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux