Solved

Recover from VHD File - VM - Hyper-V

Posted on 2014-04-28
6
445 Views
Last Modified: 2014-11-12
Hi,

Here is the scenario:

VM had driver issues
restored back to older version via previous snapshot
VM working and put required content back into server

After doing the above, we realised that there was a folder that we needed, now that the restore has happened via snapshot we cannot retrieve these files.

I have noticed that when I open the VHD file there is a folder called [DELETED] I was getting really happy thinking the files were in here but it was not the case. The file was opened using 7zip. This folder is not visable when attaching it.

I have another file with the extension .AVHD which is currently in use (which I believe is the differential file that looks at the parent VHD file). When I try to open the file via 7zip there is another file within called the .mbr file. I cannot seem to open this file and view its contents.

Do you guys suggest what can be done to retrieve the content that would have been within: C:\Program Files (x86)\

Any help will be appreciated.

Regards

introlux
0
Comment
Question by:introlux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 120
ID: 40027844
When you reverted the Snapshot, you "went back in time" and hence all files that have been created since the snapshot was created "have been lost".

Those missing files and folders are located in the AVHD file.

It's possible you could get them back by merging the AVHD with the current parent disk but all changes would be lost in the current VM.

I would recommend making an entire copy of the current VM, with it's AVHD, and Merging this content with parent, and then open the VM, and recover the files you require.

You will not be able to extract the files from within the AVHD files.
0
 

Author Comment

by:introlux
ID: 40027890
So to get an understanding here, even though I didn't take a snapshot of the current state, I reverted back in time as you call it. You are now saying those files are still there?

I have copied the parent and AVHD file onto my desktop. Will I be able merge these two files and retrieve those lost files? If so, how will I be able merge the files together.

Thanks in advance for the help on this.

Introlux
0
 
LVL 120
ID: 40027991
You will need to use Hyper-V to complete the merge.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:introlux
ID: 40028327
I have just merged the files and there is no sign of the old files. I can see the new files on the parent file now.

So that means the files are lost then?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40028891
Yes, they are lost.
0
 

Author Closing Comment

by:introlux
ID: 40196429
Thanks!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question