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 MapR user ID. Using root or any other user ID results in the system hanging.


/opt/mapr/bin/maprcli volume dump create
    [ -cluster <cluster> ]
    [ -s <start state file> ]
    [ -e <end state file> ]
    [ -o ]
    [ -dumpfile <dump file> ]
    -name <volumename>



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.


Create a full dump:

/opt/mapr/bin/maprcli volume dump create -e statefile1 -dumpfile fulldump1 -name volume -n

Create an incremental dump:

/opt/mapr/bin/maprcli volume dump create -s statefile1 -e statefile2 -name volume -dumpfile incrdump1