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.

Syntax

CLI
maprcli volume dump create
    [ -cluster <cluster> ]
    [ -s <start state file> ]
    [ -e <end state file> ]
    [ -o ]
    [ -dumpfile <dump file> ]
    -name volumename
REST

None.

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: In a secure cluster, you must use the MapR user ID. Using root or any other user ID results in the system hanging.

Examples

Create a full dump:

CLI
maprcli volume create -e statefile1 -dumpfile fulldump1 -name volume -n

Create an incremental dump:

CLI
maprcli volume dump -s statefile1 -e statefile2 -name volume -dumpfile incrdump1