Instantáneas perdidas en re-instalación.

Discussions about using Windows guests in VirtualBox.
Post Reply
jjara347
Posts: 3
Joined: 24. Jun 2015, 00:46

Instantáneas perdidas en re-instalación.

Post by jjara347 »

Estimados amigos, espero me puedan ayudar.

Estaba trabajando con una versión antigua de VirtualBox (creo era la 3.....). En esa versión manejaba una máquina virtual con 2 instantáneas muy importantes.

Tuve que formatear mi máquina, pero pude conservar el .vdi original. Pero al re-instalar VirtualBox y poner mi archivo original como pre-existente, se cargó sin problemas, pero no tengo ya las instantáneas que venía manejando en ella.

Hay alguna manera de recuperarlas?.

Agradeceré mucho cualquier ayuda que me puedan brindar.
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: Instantáneas perdidas en re-instalación.

Post by mpack »

Perhaps its the translator, but I don't see mention of snapshot files. You can recover this if you still have the unmodified base VDI file, plus the complete chain of the snapshot VDI files.

I'll wait for confirmation of that before saying more.
jjara347
Posts: 3
Joined: 24. Jun 2015, 00:46

Re: Instantáneas perdidas en re-instalación.

Post by jjara347 »

Dear friend, thank you for answering.

Virtualbox not know much, but due to your question I was looking at folders found some files with extension .vdi within a folder: C: \ Users \ user \ VirtualBox VMs \ Virtual_machine \ Snapshots

They are coded but .vdi name extension; so I guess they are the ones that contain the information of my snapshots.

If I'm right, can you please tell me, how could I do that arise in the console ?.

Thank you very much in advance.

Jaime
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: Instantáneas perdidas en re-instalación.

Post by mpack »

You should move the base VDI plus all of the .VDI files from the "Snapshots" folder together into one folder. Identify the snapshot VDI which has the newest creation time and date, and clone that VDI (not the base VDI) using CloneVDI. You must use CloneVDI for this, not "VBoxManage clonehd or anything else.

If it works then you will have a new stand alone clone VDI which contains all of your data. Create a new VM around this clone VDI.

Please note that it is very important to use an unmodified base VDI. If you already created a new VM around the base VDI and booted Windows from it then the act of doing so will have modified the VDI. If at all possible you need to restore the unmodified version. If you can't do that then it may still work, but data corruption is more likely.
jjara347
Posts: 3
Joined: 24. Jun 2015, 00:46

Re: Instantáneas perdidas en re-instalación.

Post by jjara347 »

Thanks for your answers and I'll thank you for your patience.

But like I said I do not know in depth the structure of virtualbox, and your explanation I found hard to understand

Was it possible that you send me a list of steps that can be done to correct my problem ?.

You could use generic names for objects and folders to give me the process.

My apologies for the inconvenience.
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: Instantáneas perdidas en re-instalación.

Post by mpack »

What step do you not understand?
  1. Move <vm>/<snapshot>/*.vdi to a temporary working folder.
  2. Notice the newest VDI from step 1 (don't do anything yet, just see which file it is).
  3. Move <vm>/vmname.vdi to the same folder.
  4. Use CloneVDI to clone the newest snapshot VDI from step 2.
  5. Build a new VM around the clone VDI.
Post Reply