Hi,
Over the last few weeks, I've taken a number of snapshots of my virtual os, as I was a bit paranoid regarding breaking it whenever I installed a new application. Anyway, now I've got too many snapshots and I've noticed they take a lot of disk space.
Is there a way to delete a few of them, without loosing the most recent stuff of course ! What is the approach to this ? Also I don't wan to delete the oldest ones as I'd like to be able to get back to these states, however some in the middle are useless and I want to get rid of them.
Thanks
deleting snapshots
-
graphicsxp
- Posts: 6
- Joined: 14. Jul 2009, 21:02
- Primary OS: Ubuntu other
- VBox Version: OSE Debian
- Guest OSses: XP sp3
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: deleting snapshots
It's a bit hard to only remove the middle ones, as they still contain data needed for the proper operation of the child snapshots. You can however merge these with the parent snapshot of it. To get things straight, let's say you have 5 snapshots, and you want to keep number 1, 2 and 5. The tree would look like this:
So, to make a long story short, you will only clean up the snapshot tree, not hard disk space.
- snapshot one (1)
- snapshot two (2)
- snapshot three (3)
- snapshot four (4)
- snapshot five (5)
- snapshot four (4)
- snapshot three (3)
- snapshot two (2)
- Snapshot one (1)
- Snapshot two (2), with the data of snapshots 3 and 4 in it
- Snapshot five (5)
- Snapshot two (2), with the data of snapshots 3 and 4 in it
So, to make a long story short, you will only clean up the snapshot tree, not hard disk space.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.