Defining Veeam Recovery Media Operation Mode

By default, you must manually specify the backup file location and restore point during the restore from a Veeam Recovery Media. If you know in advance that you will need to restore data from a specific backup stored in the Veeam backup repository, you can change the Veeam Recovery Media operation mode and predefine restore settings. In this case, restore will be performed automatically.

To predefine the restore settings, do the following:

  1. Create a Veeam Recovery Media with the UI or command line interface.
  2. Open the disk or removable storage device with the created recovery image or mount the ISO file.
  3. Specify the following settings in the BMRAnswerFile.xml file:

NOTE

If you work with an ISO file, you will need an ISO editor to save changes to the BMRAnswerFile.xml file.

  1. Change the recovery media operation mode to unattended. To do this, set the Prompt value for the OPERATION_MODE property.
  2. Specify the Veeam backup server that manages the backup repository where the required backup file resides. To do this, set a value for the VBR_SERVER property. You can specify IP address and port in 172.168.0.1:10005 format or hostname in machine.domain.name:port format.
  3. [Optional] Specify the recovery token to connect to the Veeam backup server. To do this, set a value for the RECOVERY_TOKEN property. To learn how to create a recovery token, see Creating Recovery Token.

If you do not specify a recovery token in the XML file or specify an expired recovery token, you will be prompted to enter a valid recovery token during the restore process.

NOTE

By default, a recovery token is valid for 24 hours. To create a recovery token with a longer validity period, use the Add-VBRComputerRecoveryToken cmdlet. To learn more, see the Add-VBRComputerRecoveryToken section in the Veeam PowerShell Reference.

  1. [Optional] Specify a restore point to select during the restore process. To do this, set a value for the RESTORE_POINT property. You can specify the first or latest restore point. If you do not specify a restore point in the XML file, you will be prompted to select it during the restore process.
  1. Save the changes to the XML file.

With these settings, you will be able to launch the restore process in the unattended mode. To learn more, see Restoring from Veeam Recovery Media in the Unattended Mode.

If you want to switch the Veeam Recovery Media back to the manual mode, set the Manual value for the OPERATION_MODE property in the BMRAnswerFile.xml file and save the changes.

<?xml version="1.0" encoding="utf-8"?>
<UnattendedBareMetalRecoveryConfiguration version="1.0">
<!-- This answer file defines how Unattended Bare Metal Recovery will be performed.-->

 <!--Mode-->
 <!--Specify mode parameter for Bare Metal Recovery.-->
 
   <!--[Required] OPERATION_MODE defines how Bare Metal Recovery should be performed and what information can be displayed to the user.-->
   <!--[Required] Manual mode requires the user performing recovery to specify all settings.-->
   <!--[Required] Prompt mode asks the user only for settings not specified in the answer file or in case of incorrect settings specified.-->
   <!--Supported values: Manual/Prompt-->
   <property name="OPERATION_MODE" value="Prompt" />

 <!--Access options-->
 <!--Specify Veeam Backup & Replication server connection parameters and a recovery token.-->

   <!--[Required] VBR_SERVER defines the IP address or the host name and the port number of the backup server. This parameter is required in the Prompt mode.-->
   <!--Value example: IP address and port in 172.168.0.1:10005 format or hostname in machine.domain.name:port format.-->
   <property name="VBR_SERVER" value="172.24.29.109:10005" />

   <!--[Optional] RECOVERY_TOKEN defines the temporary recovery token. If not specified in the Prompt mode, user performing recovery will be asked to type the recovery token in manually.-->
   <!--You can create a short-term recovery token in the Veeam console or use PowerShell cmdlet Add-VBRComputerRecoveryToken to create a token with the desired expiration date. Use the following Help Center article for more details https://helpcenter.veeam.com/docs/backup/powershell/add-vbrcomputerrecoverytoken.html?ver=120. -->
   <!-- Always limit the access scope and the expiration date for recovery tokens to avoid unnecessary exposure.-->
   <!--Value example: aa18-Ba35-3CC3-7d0D-->
   <property name="RECOVERY_TOKEN" value="D7BB-BB16-2Cb8-bcbb" />

 <!--Recovery options-->
 <!--Specify whether restore point should be chosen automatically or selected by a user performing recovery in the Prompt mode.-->
   <!--[Optional] RESTORE_POINT defines the restore point to be selected automatically. It's an optional parameter and can be left blank in the Prompt mode, in which case a user will be requested to select the restore point manually.-->
   <!--Alternatively, you can use FirstRestorePoint or LatestRestorePoint predefined values to automatically select the first or last available restore point respectively.-->
   <!--Supported values: FirstRestorePoint / LatestRestorePoint -->
   <property name="RESTORE_POINT" value="LatestRestorePoint" />
 
</UnattendedBareMetalRecoveryConfiguration>

Page updated 11/26/2024

Page content applies to build 6.3.0.177