[libvirt-users] backup procedure using blockcopy

Thomas Stein himbeere at meine-oma.de
Tue Jul 2 12:55:44 UTC 2013


>   virsh dumpxml --security-info dom > dom.xml
>   virsh undefine dom

Hello.

Someone was talking about this (undefining the VM) would not be
neccessary anymore when qemu-1.5 has been released. Is that true?

>   virsh blockcopy dom vda /path/to/backup-vda
>   polling loop - check periodically until 'virsh blockjob dom vda'
>   shows 100% completion
>   virsh suspend dom
>   virsh save dom /path/to/memory-backup --running

This does not work for me.

hn ~ # virsh blockjob gentoo-template vda
Block Copy: [100 %]

hn ~ # virsh save gentoo-template
/opt/virt-backup-blockcopy/gentoo-template/gentoo-template-memory-backup
--running
error: Failed to save domain gentoo-template to
/opt/virt-backup-blockcopy/gentoo-template/gentoo-template-memory-backup
error: Requested operation is not valid: domain has an active block job

Obviously i can not save while the blockjob is running.

cheers
t.









More information about the libvirt-users mailing list