[libvirt-users] Can I move the disk image of the guest while it is running?

Eric Blake eblake at redhat.com
Thu Feb 6 15:31:29 UTC 2014


On 02/06/2014 08:14 AM, Andrew Martin wrote:
> Eric,
> 
> For scripted live backups, which non-transient technique would you prefer:
> 1. snapshot-create-as followed by blockpull, which results in the original 
> file being left as a standalone copy of the VM from that point in time; it
> can then be copied off to a backup disk once blockpull completes

Slower (because it pulls the entire contents of the original file into
the new file), but likely to succeed.

> 2. snapshot-create-as followed by copying the backing file (since it is now
> read-only) and then using blockcommit to pull the interim changes back into
> the original/backing file (and removing the snapshot file)

Ideal, but not supported until (unreleased) qemu 2.0.

-- 
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/20140206/531ea2de/attachment.sig>


More information about the libvirt-users mailing list