Solved

Recover from VHD File - VM - Hyper-V

Posted on 2014-04-28
6
435 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 117
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 117
ID: 40027991
You will need to use Hyper-V to complete the merge.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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 117

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

This is similar to the error described in my previous Article, but with a different source problem and a different solution. When trying to scan and stage the ESXi 6.0 updates using VMware Update Manager, we can get "error code 90"
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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…
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…

706 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

15 Experts available now in Live!

Get 1:1 Help Now