This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata

Creates a snapshot of the specified volume, using the specified snapshot name.

  • License required: Enterprise Edition
  • Permissions required: fc or m 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

  • No labels