Use Wbadmin to Do Bare Metal Recovery to Dissimilar Hardware  

Use Wbadmin to Do Bare Metal Recovery to Dissimilar Hardware


Table of Contents
  1. When do you need a bare metal recovery
  2. How to perform bare metal recovery with Wbadmin
  3. A more flexible way to run dissimilar hardware restore

When do you need a bare metal recovery

If you have created a WBadmin bare metal backup, then Windows allows you to perform a Bare Metal Recovery (BMR) to a machine that the original backup was taken from or another machine that has different hardware compared with the original one. You can accomplish this via Windows backup and restore tool or Wbadmin utility. Under the circumstances when your PC or Server becomes malfunctioned or even unbootable, and when you want to transfer your full system to another machine, you can run a bare metal recovery to dissimilar hardware or identical hardware.

How to perform bare metal recovery with Wbadmin

To perform bare metal recovery, you need to open a CMD command prompt in Windows Recovery Environment (WinRE). If you cannot boot into WinRE, you can use a Windows installation disc or recovery drive used for disaster recovery. To open a command prompt from Windows installation disc, go Next > Repair > Troubleshooting > Command Prompt. Then run the following command to start the restoring process:

Wbadmin start sysrecovery –version:[backup version identifier] –backuptarget:[backup location] -machine:[name of the computer to be restored]

If you don’t know what the version identifier is, you can run “wbadmin get versions” to get version identifier. Under WinRE, the drive letter might change even when you try to restore to the original machine, so the program may fail to find the backup when use drive letter to specify the backup location. It is recommended to use volume GUID-based path when specifying backup target. You can run “mountvol” to show volume GUID path.

Example:

Wbadmin start sysrecovery –version: 11/10/2015-06:48 –backuptarget:E: -machine:WIN-9814GD4FH95

Bare Metal Recovery

If you do not want to be prompted to enter “Y” to confirm the bare metal restore, you can add “-quiet” switch.

Although a BMR can be restored to dissimilar hardware, Unified Extensible Firmware Interface (UEFI) and BIOS must not be mixed. You must make sure that both source machine and destination machine have the same boot mode either UEFI or BIOS. By default, recent machines are using UEFI mode while old machines BIOS. If you want to transfer an old system (BIOS based) to an updated UEFI-based machine, you need to convert the disk of the new machine from GPT to MBR disk and switch UEFI mode to Legacy mode.

A more flexible way to run dissimilar hardware restore

Qiling Disk Master, as Windows backup and restore software for Windows 10/8/7/Vista/XP and Windows Server 2003/2008/2012, can restore system backup from GPT disk (UEFI based) to MBR disk (BIOS based) and vice versa from either command line or graphic users interface (GUI). It supports restore under native Windows environment or Windows PE environment, so you don’t need to boot into WinRE or something when your machine boots properly.

To restore system to dissimilar hardware with Qiling Disk Master:

1. Make sure you have created a system backup or disk backup that is accessible to the machine to be recovered, and a bootable rescue media.

2. Boot the machine that you want to restore from the bootable media, and it will bring the interface of Qiling Disk Master. Then open an elevated command prompt (Windows Shell Command) under Tools tab.

3. Type in the following command: cd [installation path of Qiling Disk Master] and press Enter. For example: cd C:\Program Files\Qiling Disk Master. Note that the drive letters might change under Windows PE environment.

Backup.exe

4. Run the following command to Proceed: DiskMasterUI.exe /r /t [backup type] /s "[backup location path]" /u "[user name]" /p "[password]" /d [destination location] /x /a

If the backup was saved in network share, you may need to enter user name and password. “/x” switch specifies universal restore to recover to dissimilar hardware, and “/a“is for partition alignment to optimize for SSD.

Examples

To restore the system backup saved in NAS to partition 0 on disk 0 using Universal Restore and Partition Alignment:

DiskMasterUI.exe /r /t system /s "\\192.168.0.220\MyStorage\System backup 2023-9-12 8-36\systembackup1.fvd" /u "admin" /p "admin" /d 0:0 /x /a

Bare Metal Recovery

To restore the disk backup saved in D:\disk backup to disk 2 using Universal Restore:

DiskMasterUI.exe /r /t disk /s “D:\MyStorage\System backup 2023-9-12 8-36\systembackup1.fvd” /d 2 /x

Besides bare metal recovery to dissimilar hardware, Qiling Disk Master has many other useful functions, such as, system clone, PXE boot tool, merge image, file sync, incremental/differential backup and many more.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!