recovery of state after snapshost

Discussions about using Windows guests in VirtualBox.
Post Reply
mamadum
Posts: 3
Joined: 17. Aug 2012, 01:28

recovery of state after snapshost

Post by mamadum »

Win7 stopped working in Virtualbox 4.1.18 run in Ubuntu. so I tried to run it from snapshot done few months earlier. Big mistake. It was asking if I want to clone the original state, so I did, Virtual box was doing something for 10s but it didn't clone anything just simply restored to state from may. Now all my data from past few months is gone. Is there any way how to recover it? I was trying couple of data recovery tools run in Windows, but it didn't find anything. Is there a some way of doing it from Linux?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: recovery of state after snapshost

Post by Perryg »

I don't know what you actually did but it sounds like you reverted the snapshot. If that is the case only a restore from backup will recover it.
mamadum
Posts: 3
Joined: 17. Aug 2012, 01:28

Re: recovery of state after snapshost

Post by mamadum »

Perryg wrote:I don't know what you actually did but it sounds like you reverted the snapshot. If that is the case only a restore from backup will recover it.
Yeah, that's probably it. and since there is no backup I'm screwed :(
But I don't get it. To create snaphot is instant when turned off and it takes about 4 seconds when the machine is running. and to virtually wipe out everything by reverting that snapshot takes about half second without leaving any option to get back ??? That is just ridiculous. My virtual drive have 30GB. It takes some time to rewrite that big file. It can't be done instantly.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: recovery of state after snapshost

Post by Perryg »

Don't know what to tell you my friend. I don't use snapshots but instead I clone the guest before I do anything that might mess it up. That way I have a fast way to recover from any kind of failure. I use CloneVDI Tool and run it in wine, which was written by mpack (one of the other moderators here). Works every time and facilitates a backup instead of a momentary snapshot in time (which in my opinion are very fragile) I do on occasion use a snapshot but once I see everything is working as it should I merge it back into the main. In any case if the guest is important there should always be a backup. That has never changed.

Also the snapshot is not the complete drive structure. It is a differencing disk that has only what you have put in it since you took the snapshot. Delete only takes a second just like on metal.
mamadum
Posts: 3
Joined: 17. Aug 2012, 01:28

Re: recovery of state after snapshost

Post by mamadum »

Perryg wrote:Don't know what to tell you my friend. I don't use snapshots but instead I clone the guest before I do anything that might mess it up. That way I have a fast way to recover from any kind of failure. I use and run it in wine, which was written by mpack (one of the other moderators here). Works every time and facilitates a backup instead of a momentary snapshot in time (which in my opinion are very fragile) I do on occasion use a snapshot but once I see everything is working as it should I merge it back into the main. In any case if the guest is important there should always be a backup. That has never changed.

Also the snapshot is not the complete drive structure. It is a differencing disk that has only what you have put in it since you took the snapshot. Delete only takes a second just like on metal.

I'm just peeved, Thanks for the advice, I'm definitely gonna stick to that in the future. What I was hoping that I can somehow recover those deleted parts the same way is if it was deleted in windows by shift + delete, but thinks are obviously different.
Post Reply