Avatar of jskfan
jskfan
Flag for Cyprus asked on

Remove Snapshot with Command line:

Remove Snapshot with Command line:

I am trying to remove snapshot using the command lines below.  Retrieving the VMID then Removing snapshots related to that VMID:

 vim-cmd vmsvc/getallvms
Vmid   Name                File                 Guest OS    Version   Annotation
50     VM1    [Shared-Datastore] VM1/VM1.vmx   otherGuest   vmx-14


[root@unknown000c290ed7cb:/vmfs/volumes/5e52777e-3a92a27c-79e3-000c29b2122f/VM1]  vim-cmd vmsvc/snapshot.removeall 50
Remove All Snapshots:
[root@unknown000c290ed7cb:/vmfs/volumes/5e52777e-3a92a27c-79e3-000c29b2122f/VM1]

however when I run the ls -lha  command I still see the snapshot there:
[code]
-rw-------    1 root     root        6.0M Feb 28 10:19 VM1-000001-sesparse.vmdk
-rw-------    1 root     root         300 Feb 28 10:19 VM1-000001.vmdk

Open in new window


in the snapshot manager there is no Snapshot showing.

Any Help ?

Thank you
VirtualizationVMware

Avatar of undefined
Last Comment
jskfan

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

Snapshots generated using the API may not appear in Snapshot Manager, if you use the GUI to create snapshots, they will appear in Snapshot Manager.
jskfan

ASKER
I used the GUI
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

You used the GUI to create the snapshot and it didn't appear ?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
jskfan

ASKER
correct . It did not appear in the GUI
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jskfan

ASKER
Thanks