I am looking for a good way to test our backups on a monthly schedule task, with random VM selection dievideng them op ind to different application groups like:
Hi
My idea is to have a script, that executes VM recovery tests with SureBackup on an amount of virtual machines. I want to run the script every night, let's say to test 50-80 VM recovery tests of a total amount of 1300 VMs and do this again the next night until all VMs are tested. To be able to do that dynamically (with different VMs in the next run) via script, the script removes the Surebackupjob and ApplicationGroup after it ran and therefore I have no chance to create a VeeamONE report of SureBackup jobs, because the SureBackup job is not there any more after it was executed once.
I need a report for audit reasons, is it possible to create a report via powershell within my script, that generates a report or something like the one which is visible as html report in Veeam or something? I haven't found anything til now.
Hi Sandstrum,
I have moved your post to the respectful part of Veeam Forums. Please check answers above and that script from Luca, that does exactly what you need.
/Cheers!
That's exactly the script I use as the basis for my idea. This scripts does the handling of dynamic surebackup job and so on, but without a report of what was done within the job and thats the additional part I need. Otherwise I'm able to do these restore tests, but without an evidence that this was done
Make sure New-VBRSureBackupJobVerificationOptions has EnableEmailNotifications option enabled, that way SureBackup Job will send email report after each session.
/Thanks!
Thanks for this info. I know the SureBackupJobVerificationOptions, but I don't need an email as output. I would need something else, a html file, csv file whatever. But email is the worst in my case and this SureBackupJobVerificationOption has just email or snmp, but no output to file or something.
You need to play around with some variables and session parsing conditions to adjust it to your environment and maybe retrace some other info.
Add this code to your script and that should do the trick. The report is saved to C:\Temp\SureBackupReport.html