Hitachi

JP1 Version 11 JP1/Service Level Management Description


9.5 jslmdbrstr (restores database)

Function

This command restores the database used in SLM.

In the event of a problem on the host on which SLM - Manager is installed, you can restore the environment in effect just before the problem occurred by executing this command.

Execute this command under the following conditions:

In the case of a cluster system, in addition to the above services, the SLM - Manager service SLM - Manager DB Cluster Service (service name: HiRDBClusterService_JL0) must also be running. In a cluster system, execute this command on the active server (if the command is executed on the standby server, an error will result).

The command's execution results are output to the following file:

SLM-Manager-installation-folder\mgr\logs\jslmdbrstr.log

For details about the messages displayed during command execution, see 11.3 Messages.

Format

jslmdbrstr absolute-path-of-backup-file

Execution permission

User account belonging to the Administrators group of the OS

Storage folder

SLM-Manager-installation-folder\mgr\bin\

Arguments

absolute-path-of-backup-file

Specifies, enclosed in double quotation marks ("), the absolute path for the backup file that is to be restored.

Note that this absolute path must begin with a drive name (one character from A to Z or a to z or a colon (:)) and must consist of the characters A to Z, a to z, 0 to 9, underscore (_), period (.), parentheses (()), backslash (\), and space. None of the following specifications is permitted:

Make sure that the specification does not include any special characters.

Notes

Return value

Return value

Description

0

Database restore processing terminated normally.

1

Database restore processing failed.

Example

C:\Program Files\HITACHI\JP1ITSLM\mgr\bin\jslmdbrstr "C:\Users\Administrator\Desktop\db\ITSLMBK01"