VMware

This Question is Answered

2 "helpful" answers available (6 pts)
3 Replies Last post: May 19, 2009 5:19 PM by Scissor  

ESX3i - Can I Delete Snapshots from console/command line? posted: May 19, 2009 4:30 PM

Click to view Scissor's profile Master 1,358 posts since
Oct 8, 2007
In ESX3i deleting a larger snapshot from the VI Client takes so long that the client times out and appears to block all connected VI Clients. Is there a way I can delete snapshots from the (unsupported) console?
Click to view lamw's profile Champion vExpert 3,517 posts since
Nov 27, 2007
Yes you can, just know it's unsupported but works, take a look here: http://engr.ucsb.edu/~duonglt/vmware/#vmware_vimsh

vim-cmd vmsvc/snapshot.removeall [VmId]
vim-cmd vmsvc/snapshot.remove [VmId] [removeChildren] [snapshotLevel] [snapshotIndex]

You can also take a look at the vCLI/RCLI Utility snapshotmanager.pl http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/snapshotmanager.html


=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
http://twitter.com/lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities