Back up and restore a Hyper-V VM by using BMR and data backup

Symptoms

Consider the following scenario:
  • You have a Hyper-V host that's running Windows Server 2012 R2.
  • The Hyper-V Virtual Machines data resides somewhere other than on the system drive.
  • You back up VM data and bare metal recovery (BMR) by using Windows Server Backup (WSB).
When the VM fails to load in this scenario, and you try to restore the BMR in the Windows Recovery environment (WinRE), the System data and the Hyper-V VM are restored. However, the VM is not left in a consistent state and may fail to start.

Cause

When you create a system restore (BMR) by using Windows Server Backup (WSB), it only backs up critical volumes. Therefore, all the files, data, and Hyper-V VM files that reside on other volumes are not backed up, and you achieve only a partial data backup. This is the expected behavior.

Resolution

To resolve this issue, follow these steps:
  1. Boot into the WinRE, and make sure that the Only Restore System Drives option is selected, as shown here.
  2. After the BMR is restored, restore the Hyper-V–specific backup by using Windows Server Backup.

This two-step process makes sure that the VMs and the data are fully restored.

More Information

As a best practice, make backups of all the volumes along with the BMR. Also restore the BMR plus non-critical volumes for seamless operations.

For more information about BMR, see https://blogs.technet.microsoft.com/askcore/2011/05/12/bare-metal-restore.
Eigenschaften

Artikelnummer: 3171712 – Letzte Überarbeitung: 23.06.2016 – Revision: 1

Feedback