I not a big fan of Hyper-V snapshots. They are mostly too complex, they create .avhd files that are way to big etc... Now, I have a scheduled task running that keeps snapshots for a week (7d) long. When I look into my Hyper-V manager I see 7 snapshot files. But on the other hand when I looked into the \Hyper-V\VHD folder I found lots more .avhd files so I decided to delete every snapshot older then 2 weeks. Couldn't do no harm I thought. First cause was that the Hyper-V V.M. didn't wanted to start anymore. I got an error like:
"the chain of virtual hard disks is broken"
I still had my weeks history of each V.M. so I decided to delete (merge) the entire 'tree substructure' per V.M., in Hyper-V Manager GUI. This gave no errors and all snapshots were removed one by one.
But, I still couldn't start the V.M., same error. Eventually there was no other option left than delete the V.M. entry and recreate it, where I choose the .VHD file as 'existing virtual hard disk'. This -of course- got the V.M. up and running again.
Unfortunatly I have the impression (I'm sure) I've lost a lot of data that were in the snapshots.
What do I have:
-the snapshots from now till 2 weeks ago
-the snapshots for 3 weeks ago till 6 weeks ago (backup-recovered)
What I don't have/lost:
-the snapshots from 2 weeks till 3 weeks ago
-most of the .XML snapshot files (which were deleted automatically apparently)
One of these V.M.'s + snapshots contained very important data, which now seems to be lost
Help would be very much appreciated! Thanks in advance!