Davoud Teimouri

Virtualization & Datacenter

[Review]: Veeam BR Validator Command-Line Tool

Introduction To Veeam BR Validator Command-Line Tool


Backup is a way to keep data safer in any environment but no one can guarantee that the backup file is healthy because there is some reason that backup file can be corrupted during backup or after backup such as storage failure or during backup copy on an external medium. As the backup file health is very important and sometimes administrators have to restore virtual machines after accidentally deletion, Veeam provides an utility to validating backup files after backup job is completed.

I hope, no one face with the below error:

All instances of storage metadata are corrupt
 
Because there is no way to restore the backup file. Read this post to find how administrators can prevent such issues.
 

Where Is The Validator Command-Line Tool?


The Veeam Backup Validator can be found in the installation folder for Veeam Backup & Replication.

  • Default Install Path: C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.Validator.exe
  • If the path was changed on install, you can find the path in the registry: [HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication] CorePath

Validator Command-Line – Syntax


Note: Some command line options shown below are only available in v8 and v9. Previous versions had reduced functionality.

Veeam.Backup.Validator.exe /backup:backupname|backupid [/vmname:vmname]     [/point:pointid] [/date:pointdate] [/time:pointtime] [/silence]     [/skip] [/report:reportpath [/format:xml|html]]  
Veeam.Backup.Validator.exe /file:backupfile{1..*} [/vmname:vmname] [/silence] [/skip]     [/report:reportpath [/format:xml|html]]

Validator Command-Line  – Parameters


/?       – Displays help
/backup  – Specifies backup name or backup ID
/vmname  – Specifies one or more VM names (empty value for all VMs)
/point   – Specifies restore point ID
/date    – Specifies restore point date
/time    – Specifies restore point time
/silence – Enables silence output mode
/skip    – Skips specified VMs
/report  – Generates HTML report at the specified path
/file    – Specifies one or more backup files (VBM, VBK, VIB, VLB)
/format  – Specified report format (HTML, XML)

Validator Command-Line – Examples


Here is some example for validating backup files by “Veeam BR Validator Command-Line Tool”:

Veeam BR Validator Command-Line Tool

  • Validate the VMs named “W2008”, “W2008R2_DC” and “W2K” in the most recent restore point for the backup “Backup Job 1_imported”.

    Veeam.Backup.Validator.exe /backup:”Backup Job 1_imported” /vmname:W2008 /vmname:W2008R2_DC /vmname:W2K
     

  • Validate all virtual machines in the last restore point with ID 3942788C-B309-4FA4-A111-A4C87B3EC63D.

    Veeam.Backup.Validator.exe /backup:3942788C-B309-4FA4-A111-A4C87B3EC63D
     

  • Validate a VM with the name “Windows 8″ in the restore point created on December 5 2012 for a job named “Backup Job 1”.
     
    Veeam.Backup.Validator.exe /backup:”Backup Job 1″ /vmname:”Windows 8″ /date:05.12.2012
     
  • Validate a VM with the name “VM1” in the restore point created around 16:00 on December 5 2012 for a job named “Backup Job 2”.

         Veeam.Backup.Validator.exe /backup:”Backup Job 2″ /vmname:”VM1″ /date:”05.12.2012″ /time “16:00”
 

  • Validate a VM with the name “VM2” contained in the VBM file located at C:\Backup\VM2_Backup.vbm

    Veeam.Backup.Validator.exe /file:”C:\Backup\VM2_Backup.vbm” /vmname:”VM2″
     

  • Validate all VMs in VBK-file (backup file).

    Veeam.Backup.Validator.exe /file:”C:\Backup\VM2_Backup.vbk”
     

  • Validate a VM with the name “VM3” in the most recent restore point of “Backup Job 1” and create an HTML-report.

    Veeam.Backup.Validator.exe /backup:”Backup Job 1″ /vmname:”VM3″ /report:”D:\Reports\Backup_Job_1_Validate_30_09_2014.html”
     

  • Validate a VM with the name “VM3” in the most recent restore point of “Backup Job 1” and create XML-report.

    Veeam.Backup.Validator.exe /backup:”Backup Job 1″ /vmname:”VM3″ /report:”D:\Reports\Backup_Job_1_Validate_30_09_2014.xml” /format:xml

 

6,350 total views, 2 views today

[Review]: Veeam BR Validator Command-Line Tool
5 (100%) 3 Votes

Davoud Teimouri is as a professional blogger, vExpert 2015-2016-2017, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

1 Comment

Add a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Teimouri.net © 2012 Frontier Theme
%d bloggers like this:
Read more:
Invalid Remote Certificate – Veeam Backup & Replication

I faced with "Invalid remote certificate": "Task Failed. Error: The remote certificate is invalid according to the validation process" on...

Close