Backup Software

Veeam Windows Agent Bare Metal Restore to VM

Let's take a look at the process to go from a physical server to a VM with the Veeam Windows Agent Bare Metal Restore to VM process.

A few days ago I wrote a post about the Veeam Windows Agent Beta Install and Configuration which showed the installation and config of the new Beta 2 of the Windows agent. Let’s take a look at a common scenario of taking a physical box and P2V’ing that box to a VM by using the Veeam Windows agent. I wanted to see the process of dumping a backup of a physical server into a shell VM and any hiccups that one might experience doing that.  Let’s look at the Veeam Windows Agent Bare Metal Restore to VM process.

Veeam Windows Agent Bare Metal Restore to VM

To setup my lab test here, what I did was create a backup of a physical SQL server that had multiple volumes for data, logs, and backups on top of the operating system volume. The server is Dell hardware with Windows Server 2012 loaded, running SQL 2014.

So far as I can see in the Windows agent interface from your Veeam Backup and Replication 9.5 update 1 interface, there is not a slick way to export if you will the physical backup to a VM in one fell swoop. This would be desirable and make this process much easier. You CAN run the “export disk contents as virtual disks but you only have the raw VMDK files exported, no VMX file created, etc.

Also, if you only have 20 gigs worth of data in the backup of the server and the disk size is 1 TB, Veeam will export the raw VMDK files as thick provisioned disks so you will have to wait on entire size of the disk to export instead of just data.

With the above being said, the most desirable option here is to boot from the VeeamRecoveryMedia.iso file that is created when you create your recovery ISO for the physical server. Veeam prompts you to do this when you first run the backup configuration.

What I did was copy this ISO to my VMware lab environment and then create a shell VM with blank hard disks to match the size of the backed up server. By booting from the ISO we have the option to run the bare metal recovery. Let’s see what that process looks like.

When you boot from the Veeam Recovery Media you boot to a spash screen with a few options.  Here we want to choose the Bare Metal Recovery option.

vbragent01a

We next choose Network storage.

vbragent01b

Select Veeam backup repository.  Also, we can click the configure network settings if you have no DHCP server running or need to make other network configuration changes for connectivity.

vbragent02

To show what this looks like, after clicking the configure network settings we get a screen that shows our available network adapters or if we need to load network drivers, we can do that here.

vbragent03

If we look at the properties, we set an IP address here.

vbragent04

Next we need to populate our backup server and then enter credentials with permissions to connect.

vbragent04b

Next, we select the particular backup job we want to pick a restore point from.

vbragent05

Next, we choose a restore point.

vbragent06

Here we can choose to restore entire computersystem volumes only, or manual restore (advanced).  I chose the manual restore.  You can also select to view automatically detected disk mapping if we want to see what Veeam is recognizing as our disk layout and how it will automatically restore.

vbragent06b

It brings up what looks like disk management console to show us the mapping.

vbragent07

I chose to customize disk mapping which lets you manually map the disk to the particular volume backup that Veeam has with the backup point.

vbragent08

Notice now the restore layout shows Manual since I have manually mapped them.

vbragent09

Finally, we get to the Summary screen showing us our chosen options.

vbragent10

The restore begins.

vbragent11

After the data is restored, the process finishes.

vbragent12

When we click Finish we are prompted to Reboot computer now.

vbragent13

On the first boot, Windows recognizes hardware has changed and of course starts the “getting devices ready” process.

vbragent15

After a short wait the server boots sucessfully.

vbragent16

Thoughts

The Veeam Windows Agent Bare Metal Restore to VM process is not too bad.  In my case with a Windows Server 2012 server from Dell physical hardware, the process was fairly painless.  My hope here as the product matures is that we might see a better process to go from a physical server install and export that over to a VM without having to manually create a VM, etc.

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.