how regroup all snapshots

Discussions related to using VirtualBox on Windows hosts.
Post Reply
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

how regroup all snapshots

Post by alain.roger »

Hi,

i use VB to have a virtual Linux web server for my developments in order to have a closer testing environment to real productive server.
for safety i'm used to do more snapshots of the virtual server states (usually before or after installing a software).

i would like to know if there is an easy solution to reset/regroup all snapshots with current machine status into 1 single current status ?

i mean if i have 3 snapshots + current machine status (not saved), how can i group all snapshots and current machine status into 1 current status (like if no snapshot has been done) ?
so it will be easier to move between computers or to manage for later use.

thx a lot

A.
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: how regroup all snapshots

Post by socratis »

Start deleting from the top snapshot. I.e. if you have something like
Snapshot1
  |
  +-- Snapshot2
      |
      +-- Snapshot3
          |
          +-- Current State (changed)
then, delete Snapshot1, Snapshot2, and finally Snapshot3. You'll end up with the "Current State". Of course, back up the entire VM folder before you start doing any of this.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
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: how regroup all snapshots

Post by mpack »

Actually, if you're going to do it that way, make a backup first, otherwise any glitch and you have a dead VM.

I would instead recommend cloning the VM current state: full clone, current state only, don't reset MAC. The clone will have a merge of all the disks, without risk. Of course, make sure you have plenty of disk space for the clone.
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

Re: how regroup all snapshots

Post by alain.roger »

I already tried before what socratis suggested and it's true i finished with dead VM... so i will try now your method with cloning.

thx to both of you.
mpack wrote:Actually, if you're going to do it that way, make a backup first, otherwise any glitch and you have a dead VM.

I would instead recommend cloning the VM current state: full clone, current state only, don't reset MAC. The clone will have a merge of all the disks, without risk. Of course, make sure you have plenty of disk space for the clone.
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
Post Reply