Did you know BackupAssist image backups can be recovered direct to a virtual machine?

We were recently asked if you could recover a Windows Image Backup of a 2008 R2 server taken with BackupAssist directly to a newly created Hyper-V Virtual Machine.  This was something that should work in theory as part of the ‘recover to dissimilar hardware’ function of Windows image backups, but there are a few considerations that have to be met for a clean restore process.

So here is the best way we have found to achieve this.

Firstly lets consider what must be included in the back up to be able to perform a Bare Metal Recovery.

In BackupAssist you must make sure you create a Windows Image Backup job and within  the job select the option to perform a Bare Metal Recovery, this type of backup preserves the hidden windows system volume that is required to restore a full windows server.

Bare Metal Recovery

We will make the destination for this job a network share as this makes the recovery much easier on a virtual machine.

Generally we would run this job once a day to keep a full image of the server.

On the Hyper-V server we need to do the following to successfully recover the backup.

  1. Set up a new host for your machine
  2. Create a new VM from within the Hyper-V Manager Console and create a new virtual hard drive (make sure you set it to a size equal or greater than the hard drive of your old machine)
  3. Before starting your new VM, go back to the Hyper-V Manager Console, and edit the settings for this VM. Delete the existing network adapter, and add a Legacy Network Adapter. You will need a legacy adapter to be able to access the network share within the windows recovery console later.
  4. Insert the Windows disk in your DVD drive, capture it in your new VM and start the VM
  5. Perform the bare metal restore by choosing to ‘Repair your computer’, Complete PC Restore, then Cancel (to ignore the message that no backups could be found), choose ‘Advanced’, then Search for a network backup.
  6. Enter the UNC path for your network share ( this must be the root folder where the ‘WindowsImageBackup’ folder exists). You may be asked for windows authentication details to access the share.
  7. You should now see a list of the backups that can be recovered, choose the relevent backup and continue with the recovery.
  8. The restore will start, and the virtual machine will reboot when done.

So to summarise.

We can take a full system image of our live server at least once a day, storing the backup on another file server on the network (possibly the Hyper V Server itself),

Then should we have a hardware failure on the main server we can restore that backup to a virtual machine that will start as an exact copy of the main server and take over that role for us.

It should also be possible to reverse the process and backup from the VM and restore back to physical hardware.

Thanks goes to Linus Chang at Cortex for his original blog post and Iain Jordinson from Windows Rescue in Queensland, Australia for finding the original solution

Let us know what you think....

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s