mstrexport (save Management Server management file)
- Organization of this page
Format
mstrexport file-name [save-target-definition-file-name]
Function
When the executing node and the standby node of Management Server are being swapped on a 1:1 basis, this command collects Management Server management file at the executing node, outputs it in ZIP format, and saves it.
Arguments
When no arguments are specified, the command's usage is displayed.
- file-name
-
Specifies the name of the ZIP file to be output for saving Management Server management file. You can specify an absolute path or a relative path. If the .zip extension (not case sensitive) is omitted, .zip is added.
- save-target-definition-file-name
-
Specifies the absolute path or relative path of the save target definition file for Management Server management file.
You specify a save target definition file for Management Server management file when there are other files that you wish to collect in addition to the files that are set by default as collection targets.
For details, see 8.2.13 Definition files to be saved for the Management Server management files in the uCosminexus Application Server Definition Reference Guide.
Input examples
-
Input example 1
Output to the current directory a file named mstruct.zip that has collected Management Server management file:
mstrexport mstruct.zip
-
Input example 2
Output to a directory other than the current directory a file named mstruct.zip that has collected the files described in filelist.txt, in addition to the files that are collected by default
-
In Windows:
mstrexport c:/tmp/mstruct.zip "c:/Documents and Settings/MyUser/filelist.txt"
-
In UNIX:
mstrexport /tmp/mstruct.zip "/usr/filelist.txt"
-
Notes
The access permission for files saved by the mstrexport command is the default access permission. Therefore, you should not include at the save destination files whose access should be limited, such as files that general users are not permitted to access.