Discussions specific to the Microsoft Hyper-V hypervisor
Post Reply
AnichaNet
Lurker
Posts: 2
Liked: never
Joined: Nov 16, 2013 11:01 pm
Full Name: Bryan Anthony

What is the manual process to restore a Hyper-v VM?

Post by AnichaNet » Nov 16, 2013 11:06 pm

I have a customer that has restored from VEEAM the XML file and VHD file. What is the process to recreate the Virtual Machine from these two files?

Thanks

Bryan

AnichaNet
Lurker
Posts: 2
Liked: never
Joined: Nov 16, 2013 11:01 pm
Full Name: Bryan Anthony

Re: What is the manual process to restore a Hyper-v VM?

Post by AnichaNet » Nov 17, 2013 10:31 pm

Or what is the recommended process to restore a Hyper-V Virtual Machine?

Bryan

foggy
Veeam Software
Posts: 17087
Liked: 1396 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: What is the manual process to restore a Hyper-v VM?

Post by foggy » Nov 18, 2013 6:35 am

Bryan, the fastest way is to restore the entire VM from the backup, please see the detailed instructions here.

nathan.mcclintock
Influencer
Posts: 10
Liked: 2 times
Joined: Jul 07, 2016 8:26 pm
Full Name: Nathan McClintock
Contact:

Re: What is the manual process to restore a Hyper-v VM?

Post by nathan.mcclintock » May 29, 2017 10:55 pm

@foggy I'm not sure if that answered @AnichaNet's question but mine is similar.
I have restored a vbk from tape to a Hyper-V host that has no Veeam installed. I used Veeam.Backup.Extractor.exe to restore a VM and it appears the only 'useful' files available to me are an XML file and a VHD file (as per @AnichaNet).
I really have no idea what to do next (which I think maybe is @AnichaNet's question).
I have tried to run the Hyper-V import wizard (also via powershell) and it fails with this message: "The virtual machine configuration could not be read. The data might be corrupt or not valid."

So is this an issue with my method? Or is the file actually corrupted and I wasted 8 hours restoring it from tape :) ?

cheers

Mike Resseler
Veeam Software
Posts: 5000
Liked: 530 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: What is the manual process to restore a Hyper-v VM?

Post by Mike Resseler » May 30, 2017 4:39 am 1 person likes this post

Hey all,

So no, it won't be corrupted and you didn't waste 8 hours. What you see is something that happens quite often in the world of Hyper-V I'm afraid.

1. Can you open the XML file with notepad? Normally that should work and you should be able to see the "config" of the VM in there (RAM/ CPU/ Network/ ...)
2. Recreate the virtual machine in Hyper-V and attach the disk to it
3. Boot

That should do the trick

Mike

nathan.mcclintock
Influencer
Posts: 10
Liked: 2 times
Joined: Jul 07, 2016 8:26 pm
Full Name: Nathan McClintock
Contact:

Re: What is the manual process to restore a Hyper-v VM?

Post by nathan.mcclintock » Jun 01, 2017 2:21 am

Thanks Mike.

I was hoping that wouldn't been the case. So a manual recreation of Hyper-V VMs it is... prrrrp!

Cheers
Nathan

Post Reply

Who is online

Users browsing this forum: PTide and 9 guests