icingaweb2-module-vspheredb
icingaweb2-module-vspheredb copied to clipboard
Veeam Backup Hook Error -> Veeam 11
Expected Behavior
the Backup Hook works as expected ;-)
Current Behavior
On Veeam 11 the VM attributes text has changed. So the Veeam Backup Hook doesn't work any more.
The old Version was:
Veeam Backup: Job name: [test], Time: [17.11.2021 19:00:00], Backup host: [hosttest], Backup folder: [testfolder]
Now on Veeam 11 the Version looks like:
Last backup: [30.10.2021 21:56:04]; Veeam server: [TESTSERVER]; Job: [Testjob]; Repository: [Testserver.test..local]
Possible Solution
adjust VeeamBackupRunDetails.php
Steps to Reproduce (for bugs)
manually adjust the VM Notes (I use Notes!) and restart the daemon (or wait until sync)
Your Environment
Veeam 11
Same issue with Veeam v12. The entry in Notes is the same as noted above for v11. I have tried to fix this by editing some strings here:
vspheredb/library/Vspheredb/Addon/VeeamBackup.php
vspheredb/library/Vspheredb/Web/Widget/Addon/VeeamBackupRunDetails.php
but rapidly ended up out of my depth and a page full of errors!
For reference, a recent anonymized example of the Annotation field in vspheredb for a VM:
Last backup: [18/07/2023 14:11:37]; Veeam server: [servershortname]; Job: [Backup job name]; Repository: [serverfullname]