VMware Cloud Community
champcf
Enthusiast
Enthusiast

Command-line snapshot management

I haven't been able to find a good guide on managing snapshots using command line. Creating snapshots is the easy part. Removing snapshots is the confusing part.

When I type in `vim-cmd vmsvc/snapshot.remove`, I get:

snapshot.remove vmid

Other than "vmid", what do all those other arguments mean? How do I find out how to use them?

0 Kudos
3 Replies
Troy_Clavell
Immortal
Immortal

have you tried this?

http://www.esxguide.com/esx/content/view/2/25/

vmware-cmd vmfs/volume/vmfslabel/VMName/VMName.vmx removesnapshots

0 Kudos
champcf
Enthusiast
Enthusiast

Well, I can "remove all snapshots" pretty easily. What I want to do is choose a specific snapshot (like somewhere in the middle) to remove.

0 Kudos
CMCC
Enthusiast
Enthusiast

Yeah! I would like to know if that is possible too!!??

Celia.-
0 Kudos