Solved

Recover from VHD File - VM - Hyper-V

Posted on 2014-04-28
6
446 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 121
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 121
ID: 40027991
You will need to use Hyper-V to complete the merge.
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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 121

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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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…

695 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