volume dump create

Creates a volume dump file containing data from a volume for distribution or restoration.

Permissions Required

dump or fc on the volume.

NOTE In a secure cluster, you must use the HPE Ezmeral Data Fabric user ID. Using root or any other user ID results in the system hanging.

Syntax

CLI
/opt/mapr/bin/maprcli volume dump create
     [ -cluster cluster_name
     [-s startvolumepointname]
     [-e endvolumepointname]
     [-o (for dumpfile on stdout)]
     [-dumpfile dumpfilename (ignored if -o is used)]
     -name volumename
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/volume/dump/create?<parameters>

Parameters

Parameter Description
cluster The cluster on which to run the command.
dumpfile The name of the dump file (ignored if -o is used).
e The name of the state file to create for the end point of the dump.
name A volume name.
o This option dumps the volume to stdout instead of to a file.
s The start point for an incremental dump.
NOTE The data is not encrypted in the dump file created for a volume enabled for data at rest encryption.

Examples

Create a full dump:

/opt/mapr/bin/maprcli volume dump create -e statefile1 -dumpfile fulldump1 -name volume -n
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/dump/create?e=statefile1&dumpfile=fulldump1&name=volume&n' --user mapr:mapr

Create an incremental dump:

/opt/mapr/bin/maprcli volume dump create -s statefile1 -e statefile2 -name volume -dumpfile incrdump1
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/dump/create?s=statefile1&e=statefile2&name=volume&dumpfile=incrdump1' --user mapr:mapr