4.15. snapshot
The
snapshot
resource type groups all virtual machine snapshot resources in a Red Hat Virtualization environment.
Name | Type | Description | Required | User Creatable | User Updatable |
---|---|---|---|---|---|
--description
|
string
|
A description for the snapshot.
|
Yes
|
Yes
|
No
|
The following table lists additional snapshot options for resource-based commands.
Option | Description |
---|---|
--vm-identifier | Adds the disk to a vm as a sub-resource. |
Example 4.33. Creating a new snapshot
[RHEVM shell (connected)]# add snapshot --vm-identifier MyVM --description 'My Snapshot'
Example 4.34. Deleting a storage domain
[RHEVM shell (connected)]# remove snapshot [snapshot_id]
The following table lists actions for a virtual machine snapshot resource.
Action | Description |
---|---|
restore | Restore a snapshot. |