Skip to main content

I like to show all the utilities that Veeam offers us ... to perform administration tasks in the backup infrastructures :nerd:

Did you ever use??:point_down:

Extract Utility

 

Veeam Backup & Replication comes with an extract utility that can be used to recover machines from backup files. The extract utility does not require any interaction with Veeam Backup & Replication and can be used as an independent tool on Linux and Microsoft Windows machines.

The extract utility can be helpful, for example, if it is written to the tape next to machine backup files. In this case, you get a possibility to recover machines from backups at any moment of time even if backups are removed from Veeam Backup & Replication or Veeam Backup & Replication is uninstalled at all.

:raised_hand:IMPORTANT!

The extract utility does not work with backups that are stored in scale-out backup repositories.

 

The extract utility can be used in two interfaces:

:triangular_flag_on_post: The extract utility is located in the installation folder of Veeam Backup & Replication, by default: %PROGRAMFILES%\Veeam\Backup and Replication\Backup. The folder contains three files for the extract utility:

  • Veeam.Backup.Extractor.exe — utility working in GUI (can be used on Microsoft Windows machines only)
  • extract.exe — utility working in the command-line interface, a version for Microsoft Windows
  • extract — utility working in the command-line interface, a version for Linux

:white_check_mark: 1- Using Extract Utility in GUI

 

To restore machine data in the extract utility GUI:

  1. Run the Veeam.Backup.Extractor.exe file from the installation folder of Veeam Backup & Replication.
  2. In the Backup file field, specify a path to the backup file from which you want to restore machine data.
  3. If the backup file is encrypted, the extract utility will require you to provide a password to unlock the backup file. Enter the password that was used for backup file encryption.
  4. In the Target folder field, specify a path to the destination folder where machine data must be restored.
  5. From the Machines list, select machines whose data you want to restore.
  6. Click Extract. Machine data will be restored to the specified folder.

:raised_hand:IMPORTANT!

If you restore machine data in the extract utility GUI, consider the following:

  • The extract utility can be started on Microsoft Windows machines only.
  • If you plan to start the extract utility on the machine other than the backup server, make sure that you copy the Veeam.Backup.Extractor.exe file together with the extract.exe file from the product installation folder and store these files to the same folder on the destination machine. In the opposite case, the extract utility will fail to start.

Using Extract Utility in GUI

 

:white_check_mark: 2- Using Extract Utility from Command Line

 

To run the extract utility from the command line, do one of the following:

  • In the command line, change the current directory to the directory where the extract utility locates.
  • Add the directory where the extract utility locates to the PATH variable.

:arrow_right: Displaying Help Information for Utility Usage

This command prints all variants of the extract utility usage along with required and optional parameters.

Syntax:

extract.exe -help

 

 

:arrow_right: Displaying List of Machines in Backup

This command displays the list of all machines in the backup file from which you want to perform restore.

Syntax

extract.exe -dir p-vm vmname] p-host hostname] t-password backupkey] pathtobackup

 

 

Parameters:

Parameter

Description

Required/Optional

vm

Name of the machine that you want to restore. Use this parameter to filter machines in the backup.

Optional

host

Name of the host on which the initial machine resides. Specify this parameter to filter machines that have the same name but reside on different hosts.

Note: This parameter must be specified if the vm parameter is used.

Optional

password

Password for the encrypted backup file.

Required for encrypted backup files

pathtobackup

Path to the backup file from which the machine must be restored.

Required

 

:arrow_right:Getting Encryption Status of Backup File

This command gets the encryption status of the backup file: encrypted or not encrypted.

Syntax

extract.exe –getEncryptionStatus pathtobackup

 

Parameters

Parameter

Description

Required/Optional

pathtobackup

Path to the backup file from which the machine must be restored.

 

Required

 

 

It is one of the best (hidden :yum: ) Veeam tools! It shows how flexible you are with Veeam B&R: When you have nothing left, just your backfiles and can start to restore without installing a new backup-server or restore the configuration! Still unmatched!


Great topic @eprieto!

If you plan to use this, I strongly suggest trying a test restore and document the full process. Nothing strange about it, but it will simply extract the “raw” files which you will then need to “somehow” (fx via vSphere Client) upload to a datastore, then register VMX, and then power on.


Great topic @eprieto!

If you plan to use this, I strongly suggest trying a test restore and document the full process. Nothing strange about it, but it will simply extract the “raw” files which you will then need to “somehow” (fx via vSphere Client) upload to a datastore, then register VMX, and then power on.

Thank you @haslund !!! it has been very useful to me several times … and is very easy to do it.

 


Thanks, i was thinking about that recently. Obviously thumbs up for the work!


Oh, a little tip! In the past, the Extract utility only supported full backup (VBK) files, but that is no longer the case. Just in case someone knew about the old limitation but didn’t notice it had been removed.


Comment