Page 1 of 1

[Help] How to repair VM with missing Snapshots

Posted: 7. May 2017, 18:51
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?

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

Posted: 7. May 2017, 18:56
by socratis
FredPett wrote:So its impossible to restore them.
If you don't have a backup, I'm sorry, your data is lost.

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

Posted: 7. May 2017, 19:00
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?

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

Posted: 7. May 2017, 19:04
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.

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

Posted: 7. May 2017, 19:13
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! :)