On Mon, Mar 10, 2025 at 11:27:40 -0000, Michael Niehren wrote:
Ok, just to be sure, that i understand it right:
To be consistent on backup i have to do an:
- virsh domfsfreeze $vmname
- virsh backup-begin $vmname
- virsh domfsthaw $vmname
Do i have to wait for the "virsh domfsthaw $vmname" until the backup is
finished or
just after the "backup-begin" ?
No you can issue 'domfsthaw' right when 'backup-begin' finishes.
The backup image contains data from the point in time when the backup
job *started* irrelevant how long it takes.
qemu ensures that all blocks that would be overwritten by
the guest are first copied to the backup image before overwriting them
in the disk image.