vm-snapshot-create

Usage

avcli vm-snapshot-create [--volumes | --no-data][--description "description"] [--desire] [--require] vm-name

Description

The vm-snapshot-create command creates a VM snapshot.
Two snapshot consistency levels are supported:

Options

--volumes |

--no-data

The names of volumes to include in the snapshot. By default, all volumes are included in the snapshot unless you specify --volumes with individual volume names or you specify --no-data. If you specify --no-data, no volumes are included in the snapshot. These arguments are mutually exclusive.
--description "description" The user-specified description for this snapshot.
--desire The highest consistency level to attempt in order to declare the snapshot a success. If this attempt fails, attempts are made at successively lower levels (but no lower than the level specified by --require). Values are crash and application (the default value).
--require The minimum consistency level needed to declare the snapshot a success. Values are crash and application (the default value).
vm-name The VM's ID.

Examples

$ avcli vm-snapshot-create --volumes volume:o100 volume:o101 --description "This is the snapshot description" --name snapshot_name vm1