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:
- Create a Veeam Recovery Media with the UI or command line interface.
- Open the disk or removable storage device with the created recovery image or mount the ISO file.
- 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. |
- Change the recovery media operation mode to unattended. To do this, set the Prompt value for the OPERATION_MODE property.
- 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.
- [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. |
- [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.
- 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"?> |