volume dump restore command restores or updates a volume from a dump file. Permissions required:
restore on the volume
There are two ways to use volume dump restore:
- With a full dump file,
volume dump restorerecreates a volume from scratch from volume data stored in the dump file.
- With an incremental dump file,
volume dump restoreupdates a volume using incremental changes stored in the dump file.
The volume that results from a
volume dump restore operation is a mirror volume whose source is the volume from which the dump was created. After the operation, this volume can perform mirroring from the source volume.
When you are updating a volume from an incremental dump file, you must specify an existing volume and an incremental dump file. To restore from a sequence of previous dump files would involve first restoring from the volume's full dump file, then applying each subsequent incremental dump file.
A restored volume may contain mount points that represent volumes that were mounted under the original source volume from which the dump was created. In the restored volume, these mount points have no meaning and do not provide access to any volumes that were mounted under the source volume. If the source volume still exists, then the mount points in the restored volume will work if the restored volume is associated with the source volume as a mirror.
To restore from a full dump plus a sequence of incremental dumps:
Restore from the full dump file, using the
-noption to create a new mirror volume and the
-nameoption to specify the name. Example:
Restore from each incremental dump file in order, specifying the same volume name. Examples:
...and so on.
maprcli volume dump restore [ -cluster <cluster> ] [ -dumpfile dumpfilename ] [ -i ] [ -n ] -name <volume name>
The cluster on which to run the command.
The name of the dumpfile (ignored if
This option reads the dump file from
This option creates a new volume if it doesn't exist.
A volume name, in the form
Restore a volume from a full dump file:
maprcli volume dump restore -name volume -dumpfile fulldump1
Apply an incremental dump file to a volume:
maprcli volume dump restore -name volume -dumpfile incrdump1