Deleting Snapshot, would current state be preserved?

This is for discussing general topics about how to use VirtualBox.
Post Reply
AntiMatter
Volunteer
Posts: 176
Joined: 2. Nov 2008, 06:48
Primary OS: Ubuntu 12.04
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: All Windows (x32 & x64), Linux
Location: Canada

Deleting Snapshot, would current state be preserved?

Post by AntiMatter »

Hi,

Using Virtualbox 3.18. I have read the manual but I would like to be 100% sure. I know I could experiment this but if you know this off-hands, can you please let me know.

1. I took a snapshot (named Snap1) while the VM was still running.

2. Then I made a change: install a new application.

After testing, the new application seems to be stable. I don't need to keep the snapshot Snap1 created in Step1 above. I shutdown the VM. Select the snapshot Snap1 and delete it.

Question1: when the VM is booted would it contain the application installed in Step2?

Question2: Snap1 was the only snapshot, after it is deleted, would VM be contained entirely in the original VDI (myDevVM.vdi) ? Meaning that I can safely empty the folder MyDevVM\Snapshots ?

Thanks in advance for any help.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Deleting Snapshot, would current state be preserved?

Post by Perryg »

This would really depend on when they changed the snapshot feature. Seems it was around that time. Before it was a dice shoot on what would happen. The wording was so that you would think it meant one thing and it meant another. read the Users manual to be sure.
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 Snapshot, would current state be preserved?

Post by Sasquatch »

And whatever the manual says, NEVER clear the snapshots folder without checking if the file that is in there is in the VM settings or Media Manager. It's quite possible it turned into a saved state because the VM was running when you created the snapshot. Removing the file manually will remove the changes in it.
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.
Post Reply