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