<div dir="ltr"><div>Thanks Peter!<br></div><div>But is possible change XML configuration towards will be possible to do full (push) backup?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 20, 2021 at 9:08 PM Peter Krempa <<a href="mailto:pkrempa@redhat.com">pkrempa@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jan 20, 2021 at 20:49:49 +0300, Andrey Fokin wrote:<br>
> Colleagues, could you please advise what a problem could be in XML file in<br>
> case of:<br>
> virsh backup-begin lubuntu2 ./backup.xml<br>
> <br>
> where backup.xml -<br>
> <domainbackup><br>
>     <disk name='/var/lib/libvirt/images/lubuntu2.qcow2' type='file'><br>
>     <target file='$PWD/scratch1.img'/><br>
>     <driver type='raw'/><br>
>     </disk><br>
>     <disk name='/var/lib/libvirt/images/lubuntu2-1.qcow2' type='file'><br>
>       <target file='$PWD/scratch2.img'/><br>
>       <driver type='raw'/><br>
>     </disk><br>
> </domainbackup><br>
<br>
snip ...<br>
<br>
You forgot to add what you are observing, but I presume:<br>
<br>
'operation unsupported: incremental backup is not supported yet'<br>
<br>
Unfortunately it's what it says on the tin. The implementation of the<br>
incremental backup code is not finished yet, thus the feature is<br>
disabled.<br>
<br>
If you want to test-drive incremental backup APIs, you can enable the<br>
experimental feature by using the XML documented in:<br>
<br>
<a href="https://libvirt.org/drvqemu.html#xmlnsfeatures" rel="noreferrer" target="_blank">https://libvirt.org/drvqemu.html#xmlnsfeatures</a><br>
<br>
to enable a feature named 'incremental-backup'. Please make sure to read<br>
the caveats of doing so thoroughly.<br>
<br>
I also advise not to combine incremental backups with snapshots<br>
(virDomainSnapshot* APIs) and blockjobs (virDomainBlock* APIs) as that<br>
will not work properly without a patch enabling also experimental qemu<br>
features.<br>
<br>
I also suggest you use the latest qemu for this.<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">BRG,<br>       Andrey</div>