VMware Communities
satshank
Contributor
Contributor

Reverting the VMware workstation snapshot via command line

I can able to start and stop the VM via command line and also list the number of snapshots but not able to revert it i am getting snapshot doesnot exists

C:\Program Files (x86)\VMware\VMware Workstation>vmrun -T ws listSnapshots  "C:\Users\Administrator\Documents\Virtual Machines\ootb-vm\Red Hat Enterprise Linux 7 64-bit.vmx"

Total snapshots: 4

Oracle-DB

OOTB-PDMLINK

Solr index installed

exchange_logs folders created

C:\Program Files (x86)\VMware\VMware Workstation>vmrun -T ws revertToSnapshot "C:\Users\Administrator\Documents\Virtual Machines\ootb-vm\Red Hat Enterprise Linux 7 64-bit.vmx" 4-bit.vmx" "Solr index installed"

Error: The snapshot does not exist

Could you please help me to solve this issue

Reply
0 Kudos
1 Reply
wila
Immortal
Immortal

Hi,

Your 2nd command line example has a spurious 4-bit.vmx" part.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos