Routing the world

Routing & IT System Administration

Commit a Snapshot from console using ESXi 3.X and 4.X

with one comment

When you want to commit a snapshot using SSH, the VMWare KB refers to use the vmware-cmd command. This command is not available on ESXi versions but the scope of the KB articles says it is.

In ESXi there is other way to remove snapshot from its “experimental” console.

First of all you need to retrieve the VmId, that is, the VM Identifier Code:

vim-cmd vmsvc/getallvms

In the first column is the VmId.

One time you have the VmId you can delete all the snapshots:

vim-cmd vmsvc/snapshot.removeall VmId

Other useful command is:

vim-cmd vmsvc/get.snapshotinfo vmid

This will return information about the snapshots of a VM


Written by Root

June 1, 2010 at 11:25

Posted in VMWare

Tagged with ,

One Response

Subscribe to comments with RSS.

  1. this post makes no sense!!! why would you name your title “Commit a Snapshot from…” AND NOT EVERN PROVIDE ACTUALY INFO ON COMMITTING THE SNAPSHOT!!


    April 18, 2013 at 21:25

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: