Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Validator CLI Tool Fails to Process VMs in Per-machine backup with separate metadata files

$
0
0

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

KB ID: 4485
Product: Veeam Backup & Replication | 12 | 12.1
Published: 2023-09-08
Last Modified: 2024-05-02

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 may 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.

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>