volume snapshot create
Creates a snapshot of the specified volume, using the specified snapshot name.
- License required: Enterprise Edition
- Permissions required:
fc
orm
on the volume
Syntax
- CLI
-
maprcli volume snapshot create [ -cluster <cluster> ] -snapshotname <snapshot> -volume <volume>
- REST
-
http[s]://<host>:<port>/rest/volume/snapshot/create?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
The cluster on which to run the command. |
snapshotname |
The name of the snapshot to create. |
volume |
The volume for which to create a snapshot. |
Examples
Create a snapshot called "test-snapshot" for volume "test-volume":
- CLI
-
maprcli volume snapshot create -snapshotname test-snapshot -volume test-volume
- REST
-
https://r1n1.sj.us:8443/rest/volume/snapshot/create?volume=test-volume&snapshotname=test-snapshot