On 2013-09-20 15:41, Davide Guerri wrote:
Hi Thomas,
Hello Davide.
I'm using this script which leverages external snapshots and
blockpull:
https://github.com/dguerri/LibVirtKvm-scripts
Yeah. I saw that and tried this already. But it needs to be adjusted to
libvirtd-1.1.2 i think. Can you do this? I fiddled a litte bit around
but wasn't realy successfull.
hn LibVirtKvm-scripts # ./fi-backup.sh -b /opt/virt-backup-local/ -d
serve.lordcritical
[DEB] qemu-img version '1.6.0' is supported
[DEB] KVM version '1.6.0,' is supported
[DEB] Snapshot for domain 'serve.lordcritical' requested
[DEB] Using timestamp '20130920-151742'
[DEB] Snapshotting block devices for 'serve.lordcritical' using suffix
'bimg-20130920-151742'
[VER] Snapshot for block devices of 'serve.lordcritical' successful
[ERR] Error getting backing file for
'/var/lib/libvirt/images/serve.lordcritical.bimg-20130920-151742'.
At the moment i try:
https://bitbucket.org/guilhemfr/virt-back
cheers
t.
It's very simple and on ubuntu requires some tweaks on apparmour
configuration.
Hth
Cheers,
Davide
--
Davide Guerri
http://about.me/davide_guerri
> On 20 Sep 2013, at 15:31, Thomas Stein <himbeere(a)meine-oma.de> wrote:
>
> Hello.
>
> Is someone performing incremental backups via libvirt for qemu/kvm
> machines? I'm still having a hard time to
> find a nice procedure. I mean is it possible to make a full backup of
> an image on monday a do the next days of the week
> incremental backups?
>
> Another way could be mount the image and rsync its contents. Does that
> makes sense?
>
> Also i read in qemu changelog:
>
> ---
> Support for a new block device background job. Started by
> drive-backup, it will backup a disk's content to a new file. Unlike
> drive-mirror, the new file will include the source disk's content at
> the time the backup job was started. Atomic backup of multiple disks
> is supported using the "transaction" QMP command.
> ---
>
> Is this supported by libvirt?
>
> thanks and best regards
> thomas
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libvirt-users