Execute pre-freeze and post-thaw
-
Hello,
I'm working on testing the XCP-NG solution (PoC).
Using the latest Veeam backup plugin, I want to run a script on the VM to freeze the Oracle database with ArchiveLog (BEGIN BACKUP and END BACKUP).
I can't find a way to run /usr/sbin/pre-freeze-script and /usr/sbin/post-thaw-script via Guest Tools.Do you have a solution, or a feature that would allow me to run these two scripts?
Thanks.
-
@jsajous26 we have something for this, web hooks : https://xen-orchestra.com/blog/xen-orchestra-5-75/
doc : https://github.com/vatesfr/xen-orchestra/blob/master/%40xen-orchestra/xapi/docs/vm-sync-hook.md?ref=xen-orchestra.com -
I don't quite understand the use of webhooks.
Do you have a more specific example?Veeam not use XOA for backup, use directly XCP-ng.
-
@jsajous26 sorry I misread. I don't know how ti setup this while using veeam
-
Using webhooks, if I understand correctly, requires installing a Node.js server. This server would then call the commands to put Oracle into backup mode.
This solution is cumbersome because it would require maintaining Node.js.
Is there no way to directly use Guest Tools to call a script before and after snapshot, like with VMware or QEMU? If not, is this planned?