Avatar of sfletcher1959
Flag for United States of America asked on

Removing a snap

I am running esxi 5.5 on a vsphere client (not web).  It is in our test lab.

I was updating our PSQL database from 10 to 13.  I took a snapshot prior to the upgrade.  Installed the upgraded software and it performed poorly.  We decided to abandon that upgrade option and wait for 14.

I opened the snapshot manager and clicked GoTo Snap to roll back to the previous server state.  Worked perfectly.

However, I assumed that once I rolled back, the snap would be removed.  It was not.  So now if I delete the snap, I suppose it will write the changes and I'll end up on 13 again.  How do I delete the snap without writing the changes.

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

When you Revert, you just change the pointer as to where you are in the Snapshot history, they do not disappear.

select DELETE. (you'll then stay where you currently are, e.g. rolled back).

e.g. it will just discard the snapshot you don't need.

So that is where I am not understanding the concept.

example :
Server A is on OS 2008R2.  I take a snap shot (Upgrade 2012).
Server A is upgraded to 2012R2
If I delete the snapshot above (Upgrade 2012), the VM will stay on 2012R2 and the snapshot disappears from the manager.  Done this many times.

If I "Go To" the snapshot above, the VM reverts to when it was on 2008R2.  Never done this before.  However, it doesn't remove the snap, so if I forget and do a delete of the snapshot, I am back on 2012R2 which is not where I wanted to be at that point.

If I want to leave on 2008R2 the snapshot I
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks Andrew!

Since this was in a lab (test servers and test SAN), we knew nothing was critical.  I expected that if you revert back to the original vm, the snap would go away, not just report to the "where you are".

As always, you are a wealth of knowledge and can't possibly understand how vital you are to the community.

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Thanks for your kind words.....

You can have multiple snapshots, and move and revert all over, and go to different snapshots...and then take more snapshots, the chain can get very complicated.

snapshot manager
This was what I was referring to:
At the highest level was AppTest2012
Below that was the snapshot I took
Below that was the you are here, which looks like it is running under the snapshot.

When I clicked on the Go To button, nothing changed in this view.  However, when I went into the server it was operating with the original version of PSQL.  Not the version installed after the snap.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

ah, you are here , there is a little link which is connected,....to Snap prior.....

it might show under, but there is a little link...pointing to you are here... (not underneath)

I think the Web Client does a better job of showing this...

You are here should show on the same line next to Snap prior....
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.