[Help] How to repair VM with missing Snapshots

This is for discussing general topics about how to use VirtualBox.
Post Reply
FredPett
Posts: 3
Joined: 7. May 2017, 18:41

[Help] How to repair VM with missing Snapshots

Post by FredPett »

Hello,
I unfortunetly deleted several Snapshots of my VM with Secure Remove. So its impossible to restore them.
Now I cant start the VM because the Snapshot Chain is incomplete.
I found out that there is the Parent and Child Snapshot ID in the Header.
My Problem is, that I cant find the ID of the Snapshots in the header.
How does the ID looks like in the HEX Editor of a snapshot like {35d10824-bc7f-4643-9b28-b50a3248d104}.vdi
I was only able to figure out that the .vdi type is 04 00 00 00
Can anyone help me with this?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Help] How to repair VM with missing Snapshots

Post by socratis »

FredPett wrote:So its impossible to restore them.
If you don't have a backup, I'm sorry, your data is lost.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
FredPett
Posts: 3
Joined: 7. May 2017, 18:41

Re: [Help] How to repair VM with missing Snapshots

Post by FredPett »

I still have about 8 Snapshots. 2 are deleted.
I thought if I can "repair" the chain i get at least the data of the snapshots I still have.
It it really not possible to get some data out of the snapshots?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Help] How to repair VM with missing Snapshots

Post by socratis »

I don't care if you have 1000 snapshots and 1 is deleted. You can only go back to the last snapshot that doesn't depend on the next link of the chain. So for example if you have snapshots 1, 2, 3, ..., 595, 597, ..., 1000, you can only go up to 595. You can never go to 597.

Or to make it even worse, 1, 3, ..., 1000, you have lost all your snapshot data.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
FredPett
Posts: 3
Joined: 7. May 2017, 18:41

Re: [Help] How to repair VM with missing Snapshots

Post by FredPett »

Oh, no... Thats really bad for me :C
I read this article and thought it is possible to restore the data: treshna[dot]com/rebuilding-virtualbox-with-missing-vdi-snapshots
Thank you anyway for your help! :)
Post Reply