3.5.1 Matrix Server Command Reference

Chapter 2: mx Commands 74
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
--noHeaders
Do not display column headers in the output.
--csv
Generate the report in a comma-separated format.
Dump or restore matrix configuration information:
The following command dumps configuration information to stdout. The
information includes the configuration of servers, network interfaces,
virtual hosts, service and device monitors, notifiers, disks, and filesystems.
The configuration also includes sleep and alerts. The export group
information does not appear on the screen, but is instead placed in a dump
file in the current directory.
The dumped information does not include configuration information for
the following: Matrix Server license, secret, matrix password, membership
partitions, fencing configuration, FibreChannel switches, custom scripts and
custom notifiers.
mx matrix dump
You can also save the configuration in a file for backup purposes:
mx matrix dump > <backup_file>
The backup file is placed in the current directory. The dump command
creates a separate dump file for the export group configuration. This file is
named dump_<exportgroupname>_<time_in_milliseconds>. Be sure to save
these files.
To restore the configuration, use the following command, where backup_file
is the dump file produced earlier by mx matrix dump. Before running the
command, you may need to edit the backup_file. In the file, check the path
and file name specified for the export group dump file and correct the
names if necessary.
mx --continue --file <backup_file>
The section “Back Up and Restore the Configuration” in Chapter 2 of the
PolyServe Administration Guide, describes additional ways to back up and
restore the Matrix Server and MxFS-Linux configuration.