Performs cluster configuration snapshot operations.
Command
snapshot|snap [--list] [-ls] [--find] [-s] [--describe] [--delete] [--upload] [-f] [-n] [-d] [-t] [--deploy] [-c] [-i] [--download] [--pull]
Operations
Operation |
Description |
–list|-ls |
Lists snapshots in Command Center |
–find |
Finds snapshots in Command Center |
–describe |
Describes snapshot in Command Center |
–delete |
Deletes snapshot from Command Center |
–upload |
Uploads snapshot to Command Center |
–deploy |
Deploys snapshot to cluster |
–download |
Downloads snapshot from Command Center |
–pull |
Pulls snapshot from cluster to Command Center |
–list Parameters
Flag |
Required |
Description |
-c CLUSTER_NAME |
No |
Includes snapshots on the cluster to the list |
–find Parameters
Flag |
Required |
Description |
-s SEARCH_STRING
|
Yes |
Search string – compares against ID, name, description, and meta-data fields |
–describe Parameters
Flag |
Required |
Description |
-i SNAPSHOT_ID |
Yes |
ID of the snapshot to describe |
–delete Parameters
Flag |
Required |
Description |
-i SNAPSHOT_ID |
Yes |
ID of the snapshot to be removed from the server |
–deploy Parameters
Flag |
Required |
Description |
-i SNAPSHOT_ID |
Yes |
ID of the snapshot in Command Center to be deployed |
-c CLUSTER_NAME |
Yes |
Cluster to which snapshot should be deployed |
–upload Parameters
Flag |
Required |
Description |
-f FILENAME |
Yes |
Snapshot archive in the local filesystem |
-i SNAPSHOT_ID |
No |
Snapshot ID |
-c CLUSTER_NAME |
No |
Source cluster name |
-n NAME |
No |
Snapshot name |
-d DESCRIPTION |
No |
Snapshot description |
-t NAME=VALUE [NAME=VALUE …] |
No |
Meta/tag for matching |
–download Parameters
Flag |
Required |
Description |
-f FILENAME |
Yes |
Target filename in the local filesystem |
-i SNAPSHOT_ID |
Yes |
Snapshot ID |
–pull Parameters
Flag |
Required |
Description |
-i SNAPSHOT_ID |
Yes |
Snapshot ID |
-c CLUSTER_NAME |
Yes |
Source cluster name |