VirtualBox - Snapshots

Ask a question

VirtualBox

Introduction


With VirtualBox snapshots, you can save the current state of a virtual machine at any given time, to use it later. So, after taking a snapshot, you can at any time return to your system to a previous state, even if the virtual machine has been completely changed or damaged.

Snapshots are particularly useful to have a system clean and make sure that the virtual machine is free from bugs caused by the installation software, viruses or other.

Create a snapshot

  • If your virtual machine is already running: Select your virtual machine and "Machine"> "Take a snapshot"
  • If your virtual machine is stopped: Select your virtual machine of your choice (to the left) and then click the "snapshots" on the right, and then click on the "Take a snapshot" icon.
  • Enter a descriptive name (date and time will be automatically added), e.g "new installation" and then a description for your snapshot!
  • Click on Confirm.
  • The creation of the snapshot can take a little time.

Snapshot hierarchy


Your snapshot appear in the list of snapshots. Below you will see "Current Status", which means that the current state of your virtual machine is derived from the previously created snapshot, it is based on it. If at that time you take another snapshots (# 2 and # 3), each of them will be a snapshot derived from the previous snapshot. You can create as many snapshots you want but it should be noted that snapshots use a lot of disk space!

How to use snapshots


Upon loading the snapshot, its the whole hard disk (e.g the ISO file) of the virtual machine which will be restored. Data may be overwritten in some cases!

Restore snapshot


As the name already suggest, the "Restore snapshot" option allow you to restore your system to a previous state.

Delete snapshot


This option allows you to delete a snapshot without changing the current state of the virtual machine.
Official documentation
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Related