Synopsis
[Windows]
mprso drive name:directory name [/Ln|/Lo|/Le] [/Ca|/Cs]
[UNIX]
mprso -b Directory
Description
This command restores Systemwalker Operation Manager server's environment definition information or operation management information that has been backed up with the mpbko command to the same version/level of Systemwalker Operation Manager.
Options
drive name:directory name [Windows]
Specify where to store the information backed up by the mpbko command. Specify this option with up to 32 alphanumeric characters. Blanks can not be used.
Specify the drive name of the hard disk to store the information backed up by the mpbko command.
Specify the name of the directory to store the information backed up by the mpbko command.
-b Directory [UNIX]
Specify the full path of the directory to which the resources have been backed up in alphanumeric characters. Blanks cannot be contained in the directory name.
/Ln|/Lo|/Le [Windows]
Specify which type of information should be restored, either log information or definition information, or both. If omitted, /Le is assumed. You must specify this option after "drive name:directory name."
Specify to restore only definition information. Log information is not restored.
Specify to restore only log information. Definition information is not restored.
Specify to restore both log and definition information.
/Ca|/Cs [Windows]
Use this option for restoration on a cluster system. Omit this option if you restore information in a normal system for operations other than cluster operations. Specify this option after the /Ln, /Lo, or /Le option.
Use this option for restoration on a running node. Information is restored on a running node and a shared disk. You cannot specify this option for restoring the backup that was obtained through the mpbko command with the /Cs option specified.
Use this option for restoration on a standby node. Information is restored on a standby node but not on shared disk.
Return Values
Return value | Meaning |
---|---|
0 | Normal termination |
1 | Abnormal termination |
Reference
mpbko
Command Location
Windows | <Systemwalker Operation Manager installation directory>\MpWalker.JM\MpCmtool\backup\bin |
Solaris | /opt/systemwalker/bin |
Privilege Required
System administrator (user belonging to the Administrators group or superuser) privileges are required.
Cautions
When specifying a storage directory with this command, it must be specified with a full path name.
It is recommended to use the Operation Environment Maintenance Wizard to restore the operation environment, in order to avoid operating errors, errors entering the command, or similar errors. Refer to "Backing Up or Restoring Operation Environment" in the Systemwalker Operation Manager Installation Guide for details on the procedure. When executing the command, take care to avoid operating errors and errors entering the command. [Windows]
If you execute this command, any active services/daemons stop. If you execute this command in an environment where Systemwalker Centric Manager coexists, the services/daemons of the two systems stop simultaneously.
Be sure to confirm the following before executing this command:
Access privileges to the backup directory and restoration directory are granted.
There is plenty of free space in the restoration destination directory.
Only the resources backed up by the mpbko command in this version/level can be restored.
Operating system, installation type, installation directory, and character code must be the same between the backup source and restore destination. Otherwise, restoration cannot be performed.
Directory name located on the network drive cannot be specified.
If you execute this command using a Systemwalker Operation Manager job, the operation of Systemwalker Operation Manager and Systemwalker Centric Manager cannot be guaranteed. See "Commands that Should Not Be Executed as Jobs" in the Systemwalker Operation Manager User's Guide for details.
Examples
[Windows]
The following is a setting example for restoring the operation management information and log information backed up in the "d:\tmp\OMGRBack" directory if Systemwalker Operation Manager is installed under "c:\win32app."
cd c:\win32app\MpWalker.JM\MpCmtool\backup\bin mprso d:\tmp\OMGRBack
[UNIX]
The following is an example for restoring the server resources that have been backed up to "/backup."
/opt/systemwalker/bin/mprso -b /backup