Solved

Recover from VHD File - VM - Hyper-V

Posted on 2014-04-28
6
437 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
  • 3
  • 3
6 Comments
 
LVL 118
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 118
ID: 40027991
You will need to use Hyper-V to complete the merge.
0
New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

 

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 118

Accepted Solution

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

Author Closing Comment

by:introlux
ID: 40196429
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now