[ovirt-users] Re: oVirt / Vinchin Backup Application-Level Consistency

2022-05-19 Thread Nir Soffer
On Thu, May 19, 2022 at 11:25 AM Andrei Verovski  wrote:
>
> Hi,
>
> I’m currently testing oVirt with Vinchin backup, and for application-level 
> consistency need to make snapshot with “quiesce” option.
> What need to be done in order to activate this feature?
>
> > Guest Quiesce for Application-Level Consistency in Windows/Linux via Guest 
> > Agent: Done. Available in oVirt.
>
> Running oVirt version 4.4.7.6

The short version is that you should always get a consistent backup,
but it depends on the guest.

oVirt does not use the “quiesce” option but it use the virDomainFSFreeze[1] and
virDomainFSThaw[2] to get the same results.

I think that Vinchin supports both snapshot based and incremental backup.

In snapshot based backup, oVirt defaults to freeze the guest file system
during snapshot creation, so you should get consistent backup.

In incremental backup before 4.5, oVirt also freeze the filesystems when
entering backup mode, so you should get consistent backup.

In incremental backup in 4.5 and later, oVirt creates a temporary snapshot
for every backup, and it freezes the file systems during the snapshot, so
you should get a consistent backup.

During incremental backup, the application can use the require_consistency[3]
flag to fail to the backup if freezing the file systems failed.

Note that in all cases, getting a consistent backup requires running
qemu-guest-agent in the guest, and proper guest configuration
if you need to do something special when fsFreeze or fsThaw are called.

[1] https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainFSFreeze
[2] https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainFSThaw
[3] 
http://ovirt.github.io/ovirt-engine-api-model/master/#services/vm_backups/methods/add

Nir
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PAV67J3YI3BPQQTXYQRZ5VQPKIJQQEVZ/


[ovirt-users] Re: oVirt / Vinchin Backup Application-Level Consistency

2022-05-19 Thread Arik Hadas
On Thu, May 19, 2022 at 11:24 AM Andrei Verovski  wrote:
>
> Hi,
>
> I’m currently testing oVirt with Vinchin backup, and for application-level 
> consistency need to make snapshot with “quiesce” option.
> What need to be done in order to activate this feature?

We freeze the guest file system(s) without the quiesce option now (we
used to, long time ago), see:
https://github.com/oVirt/vdsm/commit/fb89b6eaa0e97006c184c84f6e748dcbbf74bdfe

>
> > Guest Quiesce for Application-Level Consistency in Windows/Linux via Guest 
> > Agent: Done. Available in oVirt.
>
> Running oVirt version 4.4.7.6
>
> Thanks in advance.
> Andrei
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/N2OVO5IG2LKUNXX25V7VXGVIS6GE55OH/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/72O3YEVQPDNJXSRIYIOJANPWIGUNP7W3/