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've created a WBadmin bare metal backup, Windows allows you to perform a Bare Metal Recovery (BMR) to a machine with the same or different hardware as the original machine. This can be done using the Windows backup and restore tool or the Wbadmin utility, and is useful in situations where your PC or Server becomes unbootable and you want to transfer your full system to another machine.

How to perform bare metal recovery with Wbadmin

To perform bare metal recovery, open a Command Prompt in Windows Recovery Environment (WinRE) or use a Windows installation disc or recovery drive. If using a disc, go to Next > Repair > Troubleshooting > Command Prompt, then run the command to initiate the recovery process.

To start a system recovery using the wbadmin command, you can use the following syntax: `wbadmin start sysrecovery –version:[backup version identifier] –backuptarget:[backup location] –machine:[name of the computer to be restored]`. This command is used to restore a system to a previous state from a backup, and the parameters specify the version of the backup to use, the location of the backup, and the name of the computer to be restored.

If you're unsure about the version identifier, you can run "wbadmin get versions" to find it. When trying to restore under WinRE, the drive letter might change, so using the drive letter to specify the backup location might not work. Instead, use the volume GUID-based path, which you can find by running "mountvol". This will help the program find the backup correctly.

Example:

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

Bare Metal Recovery

If you don't want to be prompted to enter "Y" to confirm the bare metal restore, you can add the "-quiet" switch.

When restoring a BMR, it's essential to ensure that the source and destination machines have the same boot mode, either UEFI or BIOS. This is because mixing UEFI and BIOS can cause issues. Most modern machines use UEFI by default, while older machines use BIOS. If you're transferring an old system (BIOS-based) to a newer UEFI-based machine, you'll need to convert the new machine's disk from GPT to MBR and switch its boot mode to Legacy mode.

A more flexible way to run dissimilar hardware restore

Qiling Disk Master can restore system backups from GPT disks to MBR disks and vice versa, both from the command line and a graphical user interface, and can be used in either a native Windows environment or a Windows PE environment.

To restore system to dissimilar hardware with Qiling Disk Master:

1. To recover a machine, ensure you have a system backup or disk backup that is accessible to the machine to be recovered, and a bootable rescue media.

2. To restore from the bootable media, boot the machine you want to restore and it will launch the Qiling Disk Master interface. From there, open an elevated command prompt (Windows Shell Command) under the Tools tab.

3. To access the Qiling Disk Master installation directory, navigate to it by typing `cd [installation path of Qiling Disk Master]` in the command prompt and pressing Enter. For example, if Qiling Disk Master is installed in `C:\Program Files\Qiling Disk Master`, you would type `cd C:\Program Files\Qiling Disk Master`. Be aware that drive letters may vary under Windows PE environment.

Backup.exe

4. To proceed, run the DiskMasterUI.exe command with the following parameters: /r (run the backup), /t [backup type] (specify the type of backup), /s "[backup location path]" (set the backup location path), /u "[user name]" (set the user name), /p "[password]" (set the password), /d [destination location] (set the destination location), /x (exclude files), and /a (archive files).

If the backup was saved in a network share, you may need to enter a user name and password. The "/x" switch is used for universal restore to recover to dissimilar hardware, and the "/a" switch 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, follow these steps: First, ensure that the system is booted from a recovery media and the Universal Restore tool is launched. Then, select the system backup saved in NAS as the source and partition 0 on disk 0 as the destination.

The command DiskMasterUI.exe is run with the following parameters: /r for restore, /t for target system, /s for source path, /u for username, /p for password, /d for delay, /x for exclusive access, and /a for append. The source path is "\\192.168.0.220\MyStorage\System backup 2023-9-12 8-36\systembackup1.fvd".

Bare Metal Recovery

To restore a disk backup saved in D:\disk backup to disk 2 using Universal Restore, follow these steps: Run the Acronis Universal Restore, select the disk backup saved in D:\disk backup, and choose the disk 2 as the target disk. Click the "Restore" button to start the restoration process.

The command DiskMasterUI.exe is used to create a disk image, specifically a system backup, with the following parameters: /r for reading, /t for disk, /s for specifying the source file "D:\MyStorage\System backup 2023-9-12 8-36\systembackup1.fvd", /d for setting the destination to drive 2, and /x for executing the command.

Qiling Disk Master offers various functionalities beyond bare metal recovery to dissimilar hardware, including system cloning, PXE boot tool, image merging, ile synchronization, and incremental/differential backups.file synchronization, and incremental/differential backups.

Related Articles


Is this information helpful?     

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