Page 1 of 1

how regroup all snapshots

Posted: 27. Mar 2014, 10:14
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.

Re: how regroup all snapshots

Posted: 27. Mar 2014, 11:56
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.

Re: how regroup all snapshots

Posted: 27. Mar 2014, 13:53
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.

Re: how regroup all snapshots

Posted: 27. Mar 2014, 15:38
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.