Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
What is the syntax for vmware-cmd createsnapshot? (738107)
Details
This article provides the syntax and options for the vmware-cmd createsnapshot command, used for creating virtual machine snapshots on ESX 3.x from the Service Console command-line.
Solution
The syntax of the vmware-cmd createsnapshot command is:
/usr/bin/vmware-cmd /path/to/virtualmachine/configuration/file.vmx createsnapshot "SnapshotName" "SnapshotDescription" QuiesceFilesystem IncludeMemory
All arguments are required:
- The absolute path to the virtual machine's
.vmxconfiguration file is specified. SnapshotNameis the user-visible name which will be displayed in the Snapshot Manager UI. The name need not be unique.
SnapshotDescriptionis the user-visible description of the snapshot which will be displayed in the Snapshot Manager UI.
QuiesceFilesystemis a boolean property, and can be 0 or 1. If set to 1, and the virtual machine is powered on when the snapshot is taken, VMware Tools is used to quiesce the file system in the virtual machine. This assures that a disk snapshot represents a consistent state of the guest file system(s).
IncludeMemoryis a boolean property, and can be 0 or 1. If set to 1, the memory state of the virtual machine is included in the snapshot as a file on disk. This allows the virtual machine to be resumed in a running state when reverting to the snapshot. Memory snapshots additional space and take longer to create.
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

