Hello,
I have been tasked to validate each and every restore point we have in a repo. Every restore point, for every VM.
Basically, management wants to make sure all restore points usable (we store 1 monthly for 2 years, plus 8 weeks, and daily of course). We have Health Checks turned on, but that only checks the most recent restore point and not very old ones that could somehow have been affected by bitrot or other corruption).
I am trying to write a PowerShell script using the Veeam.Backup.Validator.exe tool to accomplish this. I can get the job, the VMs, and the restore points, but I cannot get the validator to function. Here is what I have. Can you offer some guidance? Is there a better way to do this?
Do you get an error message? I only see your script and not why "I cannot get the validator to function"
Please check the following kb article. I assume you affected by the new v12 backup format issue with the validator: https://www.veeam.com/kb4485
Please also be aware, the health check and validator only validates backup file integrity. It doesn't guarantee you that the VM and applications can be powered on after a restore. To validate your backups fully, you should use our SureBackup jobs.
Mildur,
Yes, I understand validator only checks file consistency. This is okay for me. We do use SureBackup as well, but that only checks that the latest restore point can boot, so it doesn't help with very old restore points that may have been corrupted due to bitrot.
I have seen that KB article and have tried the suggestions (FindChildBackups) without success.
***
Below is my latest/current code. The error I am receiving is "Cannot find backup with ID "{...}" in backup "Copy To Immutable Job\Backup Job - VM_Name". This error seems very odd to me since I passed this backup job's name to Get-VBRRestorePoint get the restore point ID.