Live backup not supported?

Hello
I’m trying to run VM backups and notice a problem with live backups. My VMs has a qcow2 disk and full/incremental backup when VM is shutdown works fine. The problem is when I want to perform live backup. Then, depending on backup type occurs two problems:

incremental:

Wed Mar 13 10:22:54 2024 [Z0][VMM][I]: Error: Error executing ‘virsh --connect qemu:///system backup-begin --reuse-external --backupxml /var/lib/one//datastores/167/814/tmp/backup.xml --checkpointxml /var/lib/one//datastores/167/814/tmp/checkpoint.xml 48b71aba-6b4c-45f4-ba1f-443361995077’:
Wed Mar 13 10:22:54 2024 [Z0][VMM][I]: error: Operation not supported: creating checkpoint for incremental backup is not supported yet

full:

Wed Mar 13 10:29:54 2024 [Z0][VMM][I]: Error: Error executing ‘virsh --connect qemu:///system snapshot-create-as --name one-814-backup --disk-only --atomic --diskspec vda,file=/var/lib/one//datastores/167/814/tmp/overlay_0.qcow2 48b71aba-6b4c-45f4-ba1f-443361995077’:
Wed Mar 13 10:29:54 2024 [Z0][VMM][I]: error: Operation not supported: cannot perform block operations while checkpoint exists
Wed Mar 13 10:29:54 2024 [Z0][VMM][I]: Error preparing disk files: Error executing ‘virsh --connect qemu:///system snapshot-create-as --name one-814-backup --disk-only --atomic --diskspec vda,file=/var/lib/one//datastores/167/814/tmp/overlay_0.qcow2 48b71aba-6b4c-45f4-ba1f-443361995077’:
Wed Mar 13 10:29:55 2024 [Z0][VMM][I]: error: Operation not supported: cannot perform block


Versions of the related components and OS (frontend, hypervisors, VMs):
Debian 11.8
qemu 5.2.0
libvirtd 8.0.0
OpenNebula 6.8.0 CE

The packages that I have don’t have this feature.
It’s possible to add the code below to virsh XML file.

 <domain type='kvm' id='1' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
 [..]
 <qemu:capabilities>
   <qemu:add capability='incremental-backup'/>
 </qemu:capabilities>
 [..]
 </domain>

Hi @Rafal_Dziwinski

The VM you’re trying to backup has snapshots?
Please note that in this case, currently backups on VMs with disk or system snapshots isn’t supported

Best,
Victor.