ESX 4.1 snapshot manager - how to commit and discard changes made after snapshot

Posted on 2012-09-07
Medium Priority
Last Modified: 2012-09-07
Hi All,

Been a while since i have used snapshots. Im upgrading a server so i want to run a snap shot before making the changes. Im just testing on a VM at the moment but im slightly confused as to which option to use in the manager when either committing the change or discarding.

I have the options of 'goto' 'delete' or 'delete all'.

If i choose delete it seems to commit the change.

If i use the goto option it tells me its going to the revert to the exising snapshot (as there is only1 ) and nothing appears to change. Its only when i then subsequently delete the snapshot that it then reverts.

Is this behavior correct?
Question by:MJB2011
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 total points
ID: 38375798
If you Delete ALL the Snapshot it COMMITs the changes!

if you want to rollback the changes, select Goto the Snapshot (eg go back in time to that moment the Snapshot was made/created r.g. ROLL BACK).

and then Delete the snapshot, after you've gone back! (it will then discard the select snapshot and not merge the changes).

See my EE Article for additional information.

HOW TO: VMware Snapshots :- Be Patient

Author Comment

ID: 38375840
OK, this makes sense. What is confusing is that when i look at the manager after taking the snap it tells me that the snap shot is active as in "you are here". When i then select the "goto" button it tells me that it will revert. When i acknowledge this the manager still appears to be running on the snap shot. Giving the impression that nothing has changed. This is confusing. Its only when i then delete the snap shot that it then reverts back to "as was".
LVL 40

Accepted Solution

coolsport00 earned 1000 total points
ID: 38376008
Yes, the verbiage of snapshotting is a bit confusing.

Let me explain a bit -> When the Delete and Delete All options are selected, each one will commit all the data/changes that were written to the snapshot disk back to the parent disk of the snapshot (there could be multiple levels of snaps, so be clear here that the parent disk is either the parent snapshot to the snap or the VMDK of the snap). Once that data is "committed" to the parent, then the snapshot file itself is deleted (thus why 'Delete' is used). The Delete option will delete the snap file you select in Snap Mgr. So, if you have mulitple snap levels & only want to commit changes at the lowest (most current usually) snap level, select just 'Delete'. If you're ok with committing ALL changes in every snapshot, just select Delete All and every change will be saved and all snapshot files deleted/removed.

The "Goto" option as @hanccocka mentions reverts you to whatever snap or parent you select. You can then power on the VM and it will show as it did prior to the snap. If you don't want to 'save' the changes made in the snap, you then delete the snap. After you do a 'Goto' option, when you select Delete, at this point the data will NOT be saved to the parent disk.

See here, Understanding Snapshots, for more info: http://kb.vmware.com/kb/1015180


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question