#1 Global Leader in Data Protection & Ransomware Recovery

Validator CLI Tool Fails to Process VMs in Per-Machine Backup With Separate Metadata Files

KB ID: 4485
Product: Veeam Backup & Replication | 12
Published: 2023-09-08
Last Modified: 2023-09-13
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

When attempting to use the Veeam Backup Validator command-line tool to validate the VMs contained within a job that was using the Per-machine backup with separate metadata files (aka True Per-VM) backup chain format, the Veeam Backup Validator tool throws the error:

Cannot find last point for backup "<job-name>".
Errror

Cause

This is a known issue and will be fixed in a future release of Veeam Backup & Replication.

Solution

The following PowerShell script can be used to validate the latest restore point for all VMs within a job when it is using Per-machine backup with separate metadata files.

Notes:

  • Replace <job-name> with the actual backup job name.
  • The script must be run in an Administrative PowerShell prompt.
  • The script will output the reports to C:\temp\. If that folder does not exist, either create it or update the script to output to a different existing folder.
#Get backup job information based on name.
$backup = Get-VBRBackup -Name "<job-name>"
#Find child backups for job.
$child_backups = $backup.FindChildBackups()
#For each child backup found validate the latest restore point, output the results to an HTML file in C:\temp\
ForEach ($sub_child in $child_backups) {
$id = $sub_child.Id
$name = $sub_child.name
Write-Output "Processing VM $name $id"
cmd.exe /c '"C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.Validator.exe" /backup:'$id' /report:"C:\temp\report_'$name'-'$(get-date -f yyyy-MM-dd_HH.mm)'.html" /format:html'
}
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.