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
Published: 2023-09-08
Last Modified: 2023-09-08

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 "<backup_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:

Replace <job-name> with the actual job name.
The script must be run in an Administrative PowerShell prompt.

#Get backup job information based on name.
$backup = Get-VBRBackup -Name "Backup Job 1"
#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>