One of the ways in which you can use InstantData is to do a Bare Metal Recovery (BMR) directly to new physical (or virtual) hardware.
InstantData BMR is intended for recovery to a machine identical to that on which the backup was run. If, as a fallback, you are restoring to a different type of machine, booting may fail because certain required drivers are not present in the installation. In these cases, we recommend building a fresh machine and restoring the system state instead.
Supported partition types
- BIOS partitions
- Primary and logical partitions:
- NTFS
- FAT32
- EFI system partition
- Windows Recovery Environment
- Extended partitions
- Dynamic disks (Windows Logical Disk Manager) - will be converted into basic disks
- Primary and logical partitions:
- GPT partitions
- Windows basic data partition
- NTFS
- FAT16/FAT32
- ReFS - will be converted to NTFS
- EFI system partition
- Dynamic disks (Windows Logical Disk Manager) - will be converted into basic disks
- Windows basic data partition
Note: For more on recovering dynamic disks, see Article 878.
Before you begin
You will need:
- Access to the Storage Platform Console or the machine's ESE agent
- An external storage device (e.g. USB flash drive)
- A target machine or VM (of the same disk size as the original machine, or larger) that is connected to the internet
- Windows installation media with the required .NET version or higher (please see our requirements matrix here). If you do not have this, you can create a free Windows 10 installer with the latest .NET version from Microsoft's download page. The installation media does not need to match the OS of the backup.
Because BMR is only supported for recovery to a physical machine that is identical to the original machine, the correct mode needs to be enabled within the system boot configuration when you perform the recovery. For example, if the original machine was backed up in BIOS mode, the system boot configuration should be set to BIOS when the recovery is performed. Likewise, if the original system was backed up using UEFI, the system boot configuration should be set to UEFI.
Instructions
1. Launch the Full System Recovery application using one of the following options:
Option 1
In the Storage Platform Console, right-click the relevant account name and go to InstantData > Open, select the Full System Recovery option and click on Launch.
Option 2
In the Storage Platform Console, right-click the relevant account name and go to InstantData > Share, select the Full System Recovery option and click on Download. Run the downloaded executable.
Option 3
In the machine's ESE agent, open the Restore tab and select a backup date from the drop-down menu. Click the InstantData button in the top bar. Select the Full System Recovery option and click on Download. Run the downloaded executable.
2. Enable My network uses a transparent proxy if there is a transparent proxy or HTTP is blocked. This option will force the connection to be made using HTTPS instead of HTTP.
Note: BMR may not work from a local copy.
3. Enter your Encryption key and click Next.
4. Under Target, select Bare Metal Recovery and specify a Target Folder. Click Next.
Note: You can also select Configure Volume Settings to configure volume sizes or exclude volumes to be restored.
4. Configure the disk mapping if required and click Start. Disk mapping is used to map a specific source disk to a different target disk, e.g. to map disk 2 from the backup to disk 3 in the restore, and disk 3 in the backup to disk 2 in the restore.
The FSR application will download the InstantDataBMR.exe and a script file to the target folder.
The script contains the required information to run the BMR from a command line.
4. Copy the content from the target folder, e.g. E:\BMR_restore to the external storage device. Connect this device to the target machine, ensuring that the machine can read the device.
5. Start the target machine using the Windows installation DVD. When presented with the screen below, click Next.
6. Click Repair your computer.
7. Select Command Prompt.
8. Run wpeinit
to initialise networking. (It is also a good idea to run ipconfig
at this point to ensure your IP address can access the Storage Platform.)
9. From the command line, run diskpart
.
10. Run rescan
to make sure the disk configuration information is up to date.
11. At the diskpart
prompt, use list disk
to list the attached disks.
12. Note which disk(s) are your restore targets. Here, Disk 1 is the USB key from which the restore is being run and so should not be modified.
13. Select the disk to be cleaned using select disk
and the number, e.g. select
disk 0
.
14. Enter clean all
.
15. Locate the fsr.bat script on the external storage device and execute the script on the target machine. When prompted, provide your encryption key. See below for more information on the script and additional parameters.
16. InstantData will now start recreating your drives on the target machine. Once this process is complete, reboot your machine.
Contents of the script and additional parameters
The fsr.bat file automatically includes the following parameters obtained from the FSR application in the previous steps:
-Server |
Your StorageServer address. |
-Port |
Your StorageServer port number. |
-Account |
Your account GUID. |
-Backup |
The backup date to restore. |
-Diskmap |
Changes the order of the disks on the target machine from that on the source machine. E.g. -DiskMap=2:3,3:2 will map disk 2 from the backup to disk 3 in the restore, and |
-Volumes |
Selects the volumes to restore. E.g -Volumes=1:1,1:2,3:1 will restore disk 1 volume 1, disk 1 volume 2, and disk 3 volume 1 |
For help and additional parameters, browse to the target folder and run the following:
E:\BMR_restore\FSR\InstantDataBMR.exe -help
If you encounter the error "The filename, directory name, or volume label syntax is incorrect", edit the script to remove the backslash from the -Data
parameter (indicated in red below):
%~dp0\FSR\InstantDataBMR.exe -Data=%~dp0\Data -Server=ukdc1ss.pro.redstor.com -Port=443 -
Account="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx" -Backup=2023-04-19T10:00:04.0000000Z
-DiskMap=0:1 -Volumes=1:1(0.25390625),1:2(0.015625),1:3(118.1533203125),1:4(0.8115234375)
The parameter -Data=%~dp0\Data
should therefore be -Data=%~dp0Data
.
Troubleshooting
Under certain conditions (e.g. in VMware), the disk presented to a machine may not be seen as empty of data when attempting an InstantData BMR. The error "Specified physical disk is not empty!" will be presented.
To resolve this, use DiskPart to zero the disk, as follows:
1. From the command line, run diskpart
.
2. Run rescan
to make sure the disk configuration information is up to date.
3. At the diskpart
prompt, use list disk
to list the attached disks.
4. Note which disk(s) are your restore targets. Here, Disk 1 is the USB key from which the restore is being run and so should not be modified.
5. Select the disk to be cleaned using select disk
and the number, e.g. select
disk 0
.
6. Enter clean all
.
7. Once this has completed, do the same for any other disks required for the restore.
8. Type exit
to quit DiskPart.
The restore
command can then be run as normal.
Comments
0 comments
Article is closed for comments.