Page 1 of 1

Export Snapshot and make a disk

Posted: 13. Oct 2009, 10:33
by macben
Hello,

I have VB 2.2.2 in a portable version. I installed version 3.0.8.

Now I want my version 3.0.8. works like a snapshot out under 2.2.2.

My problem is that if I connected my disks :

Code: Select all

C: \ Portable-VirtualBox-Win32 \ data \. VirtualBox \ HardDisk \ *. vdi
Version 3.0.8 has my status is too old compared to my snapshot.

If I look in

Code: Select all

C: \ Portable-VirtualBox-Win32 \ data \. VirtualBox \ Machines \ WindowsXP-New \ Snapshots
the snapshots of my files are there.

But how to merge my records and snapshots to be reused my disks on the new version of virtualbox?

Thank you for your responses.

Re: Export Snapshot and make a disk

Posted: 13. Oct 2009, 11:33
by mpack
I hope you have backups, because you may have already ruined your VDIs by letting a new VBox install access the base VDI directly. If you booted up any affected VM then the base VDI now has a modification signature which will not match the one expected by the first snapshot.

The best way would be to restore your previous VBox version (2.2.2 portable), then merge the snapshots to a single base VDI. If possible you should restore restore the base VDIs from a backup before doing this, otherwise it is possible the merge will fail. On success you can uninstall 2.2.2 and reinstall 3.0.8. Now it is safe to reference the now stand-alone VDIs.

A lesson for the future: do not use snapshots!

Re: Export Snapshot and make a disk

Posted: 13. Oct 2009, 11:40
by macben
Yes I work only on backup of my VDI.

So how can i do : "then merge the snapshots to a single base VDI" ?

I have found topics on the web but I prefer an official documentation.

Tks

Re: Export Snapshot and make a disk

Posted: 13. Oct 2009, 11:57
by Sasquatch
The official docs are a bit vague on the features. Check the Suggestions forum, it has a topic with a perfect explanation of the snapshot features (revert, discard, etc).

Re: Export Snapshot and make a disk

Posted: 14. Oct 2009, 16:20
by macben
Hello,

I tried a number of several topics, but I can not have a single file .vdi in the directory HardDisk that contains the current state.

:cry:

Re: Export Snapshot and make a disk

Posted: 14. Oct 2009, 16:28
by Sasquatch
macben wrote:Hello,

I tried a number of several topics, but I can not have a single file .vdi in the directory HardDisk that contains the current state.

:cry:
Something like http://forums.virtualbox.org/viewtopic.php?f=9&t=20853 perhaps? Was in plain view.

Another useful topic, a bit further down the line: http://forums.virtualbox.org/viewtopic.php?f=1&t=23291
Hope this helps a bit.

Re: Export Snapshot and make a disk

Posted: 21. Oct 2009, 16:00
by macben
Hello,

I managed to merge my snapshot for just having "Current state", but only the *.vdi files in the directory Snapshots were made daily.

The *.vdi files in the directory HardDisk contain the "initial state" and not the "current state".

Si I can't import my HardDisk on the version of VB.

Re: Export Snapshot and make a disk

Posted: 22. Oct 2009, 00:47
by MarkCranness
I'm sure it can be figured out! Here are some ideas:

1) Discard your snapshots using 2.2.2 then attach the base VDI in 3.0.8.
(In 2.2.2 you should have NO snapshots left after discarding the last snapshot; if you have some left, then see below.)
(NEVER use the 'Discard Snapshot and State' button!)

2) If the base VDI still has some snapshots attached even after Discarding all snapshots (in 2.2.2), then flatten the snapshots and base VDI into a new VDI: http://forums.virtualbox.org/viewtopic. ... 99#p103299