A Bridge to the Cloud...

Oracle VM VirtualBox: Cloning from a given point in the snapshot tree

Simon Coter
Senior Manager, Oracle Linux and Virtualization Product Management

Continuing on the refresh of old VirtualBox articles, this quick blog entry is about a longer standing ability of VirtualBox when it comes to Snapshots and Cloning, and was prompted by a question posed internally, here in Oracle: "Is there a way I can create a new VM from a point in my snapshot tree?".

Here's the scenario: Let's say you have your favourite work VM which is Oracle Linux based and as you installed different packages, such as database, middleware, and the apps, you took snapshots at each point like this:

Base system

But you then need to create a new VM for some other testing or to share with a colleague who will be using the same Linux and Database layers but may want to reconfigure the Middleware tier, and may want to install his own Apps. All you have to do is right click on the snapshot that you're happy with and clone:

Give the VM that you are about to create a name, and if you plan to use it on the same host machine as the original VM, it's a good idea to "Reinitialize the MAC address" so there's no clash on the same network:

Now choose the Clone type. If you plan to use this new VM on the same host as the original, you can use Linked Cloning else choose Full. 

At this point you now have a choice about what to do about your snapshot tree. In our example, we're happy with the Linux and Database layers, but we may want to allow our colleague to change the upper tiers, with the option of reverting back to our known-good state, so we'll retain the snapshot data in the new VM from this point on:

The cloning process then chugs along and may take a while if you chose a Full Clone:

Finally, the newly cloned VM is ready with the subset of the Snapshot tree that we wanted to retain:

Hope this quick guide could help you on maintaining snapshots and creating clones!

Join the discussion

Comments ( 2 )
  • Svetlomir Petrov Monday, August 21, 2017
    Hi ! Can you provide cli commands for performing the same action e.g. VBoxManage ... ? I want to make a full cloning from a snapshot but do not have gui, just ssh connection.

  • Simon Tuesday, August 22, 2017
    Hi Svetlomir,

    using the VirtualBox CLI is very easy; yep, the are a lot of options but once identified what you need it's also intuitive.
    I would suggest you to start from:



Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.