Export Snapshot and make a disk

This is for discussing general topics about how to use VirtualBox.
Post Reply
macben
Posts: 8
Joined: 13. Oct 2009, 10:27
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Wxp and Ubuntu

Export Snapshot and make a disk

Post 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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Export Snapshot and make a disk

Post 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!
macben
Posts: 8
Joined: 13. Oct 2009, 10:27
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Wxp and Ubuntu

Re: Export Snapshot and make a disk

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Export Snapshot and make a disk

Post 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).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
macben
Posts: 8
Joined: 13. Oct 2009, 10:27
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Wxp and Ubuntu

Re: Export Snapshot and make a disk

Post 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:
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Export Snapshot and make a disk

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
macben
Posts: 8
Joined: 13. Oct 2009, 10:27
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Wxp and Ubuntu

Re: Export Snapshot and make a disk

Post 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.
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Export Snapshot and make a disk

Post 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
Post Reply