how to delete the old snapshot at vmware level and keep one final latest for operations

D_wathi
D_wathi used Ask the Experts™
on
Dear Experts

I am having Vm's running on VMware hypervisor esxi 6.7. To test certain configurations on one of the production VM took snapshot and did the configuration and everything worked fine later continued the server for production environment and now it is 10 days and  users also worked on daily and data is updated. Now what is the best practice to delete the snap shot,  not sure should I have to just perfrom consolidate I prefer to the retain the latest and remove other snaps, please suggest me the best practice without loosing the data.

Thanks in advance.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
It is always possible to consolidate snapshots by deleting them one by one and just keep the newest snapshot.  In such a case, I always recommend deleting the oldest snapshot first, and work your way through towards the newest.

However, it is not recommended to run a production environment with snapshots for long periods of time. This can have a performance impact and cause other issues.

So best to delete all snapshots (make sure you have ample free space in the volume, running out can cause lots of issues).
RobertSystem Admin
Commented:
I agree with robocat. Snapshots are not meant as backups. They are ment for quick rollback during configuration changes (they can provide a few other functions also) I recomend consolidating all your snapshots and making a backup using backup software.

Author

Commented:
thanks for the reply, from the original took one snapshot and did configuration changes and production is live, if to delete snapshot I have just delete the original that is minus of the present snapshot, is this correct please suggest.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Yes, click on that snapshot and press delete.

Or choose "delete all" if you want to remove all snapshots at once (if there are more than one). Which I really would recommend. You can always create new snapshots when needed.

Author

Commented:
i have one snapshot taken hence the latest the one i have taken will be in use for access and work, Now I go to previous to this and delete that means which is original which was running prior to snapshot, hope this is correct way, please let me know, thank you so much.
I think yes but...

The way you ask this, makes me think you may lack basic understanding of snapshot management. Perhaps it is best you look at some tutorials on youtube before proceeding. You really need to know what you’re doing to avoid data loss.

This is an example of such a tutorial with the vsphere client, if you’re using the web management, the same principles apply but things look different.

https://youtu.be/rj8ugLrmU-M

And I repeat that it is best to remove all snapshots. A running vmware guest should have no snapshots at all during normal use. Snapshots are NOT BACKUPS!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial