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 computer,ย system 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 a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He 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. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

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.