5 min read
A VirtualBox snapshot is a saved state of a virtual machine that you can return to later. It records the virtual disk, the memory, and the device state at the moment you take it. If an update breaks the VM, a driver fails, or a test corrupts the system, restoring the snapshot puts the VM back exactly as it was. It is the undo button for a whole computer.
Snapshots are the main reason experienced users trust virtual machines for risky work. Without a snapshot, a broken VM means a reinstall and hours of setup. With one, recovery takes a minute. Learning snapshots is the most valuable VirtualBox skill after creating the VM itself.

What a Snapshot Contains
A snapshot stores the differences in the virtual disk since the previous snapshot, plus the full machine state. VirtualBox uses differencing images, so a snapshot file only holds what changed, not a full copy of the disk. That keeps snapshots smaller than the whole disk, though they still add up over time. This guide shows how snapshots work and how to use them safely.
If the VM is running when you take the snapshot, the memory contents are saved too. Restoring such a snapshot resumes the VM mid-task, with apps still open. If the VM is off, the snapshot stores only the disk, and restoring it boots the VM from that disk state. Both forms are useful.
Snapshots do not back up the host computer. They protect only the guest VM. If the host disk fails, snapshots on that disk are lost too. For real backups, copy the whole VM folder to another drive. Snapshots are for quick undo, not for disaster recovery.
Taking a Snapshot
With the VM selected, open the Snapshots view in the VirtualBox manager, or use the Machine menu while the VM runs. Click Take Snapshot, give it a clear name, and add a short description. A name such as before graphics driver update tells you more than snapshot 1, especially months later.
Choose a good moment for the snapshot. The best moments are right after installing the guest system, right after installing your main apps, and right before any risky change. A snapshot taken after the VM is already broken saves the broken state, which is useless. Take snapshots before the risk, not after.
Wait for the snapshot to finish before making changes. The VirtualBox window shows progress, and a snapshot of a running VM can take a minute. Starting an update while the snapshot is still writing can corrupt it. Patience here protects the safety net.
Restoring a Snapshot
To restore, open the Snapshots view, select the snapshot, and click Restore. VirtualBox asks whether to take a snapshot of the current state first. Say yes if the current state might matter, because restoring discards all changes made after the chosen snapshot. Say no only when the current state is broken and worthless.
Restoring a running-state snapshot resumes the VM where it was. Restoring a powered-off snapshot boots the VM fresh from that state. Either way, the VM returns exactly to the saved moment. Any files created after the snapshot are gone, so copy important files out of the VM before restoring.
After restoring, test the VM briefly. Open the app that was broken and confirm it works. A restore that looks successful but leaves the app broken usually means the snapshot itself was taken after the problem started. In that case, restore an older snapshot.
Snapshot Chains and Disk Space
Snapshots form a chain. Each snapshot builds on the previous one, and restoring an old snapshot discards the later ones unless you saved the current state first. The chain is shown as a tree in the Snapshots view. Understanding the tree prevents surprises, because restoring is not always a simple step back.
Snapshots consume disk space. Each one holds the disk changes since the last snapshot, and a VM that writes a lot can grow its snapshots quickly. A chain of ten snapshots can double the size of the VM folder. Check the folder size regularly, and delete snapshots you no longer need.
Deleting a snapshot merges its changes into the next one, which takes time and disk space. Do not delete snapshots while the VM is running a heavy task. Delete them when the VM is off, and wait for the merge to finish. A half-merged snapshot chain can corrupt the VM.
A Snapshot Habit That Works
Keep two or three snapshots per VM. One clean snapshot holds the fresh system with your main apps. One working snapshot holds the state before the current experiment. Older snapshots can usually go, because the clean snapshot covers a full reset and the working snapshot covers the recent risk.
Name snapshots by the event, not the date alone. Before driver update, before registry edit, and before major upgrade are all good names. A future you will thank a past you for names that explain why the snapshot exists.
Pair snapshots with real backups for important VMs. Export the VM or copy its folder to another drive once a month. Snapshots save you from bad updates. Backups save you from dead drives. Together, they cover both kinds of disaster.
There is always another angle. The guides below explore a few, starting with VirtualBox: A Comprehensive Guide to Virtualization.
