vsphere_create_snapshot
Creates a snapshot of a VM to capture its current state for quick rollback or testing. Supports optional memory capture and quiescing for crash-consistent snapshots.
Instructions
Take a snapshot of a virtual machine.
Snapshots are not backups: they grow with every write and degrade performance if left in place, so delete them once they are no longer needed.
Requires permission mode write or higher.
Args: vm: VM name, managed object id, UUID or inventory path. name: Name for the new snapshot. description: Optional free-text description. include_memory: Capture the memory state too, so a revert returns the VM to a running state. Slower and larger. quiesce: Ask VMware Tools to quiesce the guest filesystem for a crash-consistent snapshot. Requires VMware Tools. wait: Wait for the snapshot task to finish. timeout_seconds: Override the default task timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| name | Yes | ||
| wait | No | ||
| quiesce | No | ||
| description | No | ||
| include_memory | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||