If one domain has two qcow2 file share the same name in different folder, backup will be successful but restore may fail.
For example, domain test has 2 qcow2 file, vda in /mnt/a/data.qcow2 and vdb in /mnt/b/data.qcow2. Backup was successful, but I met problem when restore it. The restore tried to put the 2 data.qcow2 into the same target_dir, which threw a qcow2 file already exists error.
If one domain has two qcow2 file share the same name in different folder, backup will be successful but restore may fail.
For example, domain
testhas 2 qcow2 file,vdain/mnt/a/data.qcow2andvdbin/mnt/b/data.qcow2. Backup was successful, but I met problem when restore it. The restore tried to put the 2data.qcow2into the sametarget_dir, which threw aqcow2 file already existserror.