icingaweb2-module-vspheredb icon indicating copy to clipboard operation
icingaweb2-module-vspheredb copied to clipboard

Veeam Backup Hook Error -> Veeam 11

Open wolf-in-sheeps-clothing opened this issue 3 years ago • 1 comments

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]

Screenshot 2021-11-17 220839

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]

Screenshot 2021-11-17 220652

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

wolf-in-sheeps-clothing avatar Nov 17 '21 21:11 wolf-in-sheeps-clothing

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]

gerdesj avatar Jul 18 '23 14:07 gerdesj