Page 1 of 1
Move VM and snapshots
Posted: 16. Feb 2012, 11:10
by domian12
Hi all.
I'm using VirtualBox 4.1.8 on Win 7.
I have:
virt_win7x64.vdi - originally created by the VM image
Folder «Snapshots» with files of type {1d1e457d-39e5-4433-afe4-34ff574cc65c}. vdi
and nothing more.
On another computer, I plugged virt_win7x64.vdi, VM is running.
The problem: I can not connect my snapshots to VM images as they were originally.
I do this? Please help me.
Re: Move VM and snapshots
Posted: 16. Feb 2012, 12:48
by mpack
You need to copy the entire VM folder, not just the base VDI denuded of all its snapshots.
Incidentally, the base VDI you already copied will now be ruined by using it in the wrong VM. Make sure that when you copy the VM folder you copy the base VDI file again.
On the new host, run the manager and use the Machine|Add... menu item to add the .vbox file to the VM register on that PC.
Re: Move VM and snapshots
Posted: 16. Feb 2012, 16:20
by domian12
So, can I not restore my snapshot to VM image? The have: {1d1e457d-39e5-4433-afe4-34ff574cc65c}.vdi, {750a0e87-c76a-487a-8668-b99fd58b4c66}.vdi and ther.
Now I have not *.vbox files.
Re: Move VM and snapshots
Posted: 16. Feb 2012, 17:50
by mpack
Of course you can merge snapshots in the normal way, ie. by deleting them in the GUI. You can do that on the source PC, or on the destination PC after moving the VM as I instructed above.
Is there some reason why you want to avoid doing this the obvious and simplest way?
Re: Move VM and snapshots
Posted: 16. Feb 2012, 18:46
by domian12
Of course.
I only got the VM image and snapshots images.
I would like to make things right. But it is not possible.
Thank you. In the future I'll know.
Re: Move VM and snapshots
Posted: 16. Feb 2012, 19:17
by mpack
Well, one thing you can try is the CloneVDI tool (see sticky in "Windows Hosts" forum). If you do not use a Windows host then you would need to run it under Wine (on Linux and Mac hosts). You would put all of the image fragments in one folder, then use CloneVDI to clone the latest difference file (the file with name like {1234.abcd.etc}.vdi). That should produce a merged VDI which you can build a new VM around.