8.1.5 Restoring the database
If you have a backup of the database and a problem occurs in SLM itself, you can restore the environment to its status before the problem occurred.
A command is used to restore a database.
This subsection explains how to restore a database.
- Organization of this subsection
(1) Before you start
Verify that you have backed up the database.
(2) Procedure
To restore the database:
Terminate all SLM - URs connected to the SLM - Manager whose database is to be restored.
For details about how to terminate SLM - UR, see 2.1.3 Terminating SLM - UR.
On the host on which the SLM - Manager whose database is to be restored is installed, from the Windows Start menu, select Administrative Tools, and then Services.
Stop the SLM - Manager service SLM - Manager Web Service (service name: JP1_ITSLM_MGR_Web_Service) of the SLM - Manager whose database is to be restored.
Stop the SLM - Manager service SLM - Manager Service (service name: JP1_ITSLM_MGR_Service) of the SLM - Manager whose database is to be restored.
Execute the database restore command.
Execute the following restore command:
jslmdbrstr absolute-path-of-backup-file
For details about the restore command, see 9.5 jslmdbrstr (restores database) in 9. Commands.
Start the SLM - Manager service SLM - Manager Service that was stopped in step 4.
Start the SLM - Manager service SLM - Manager Web Service that was stopped in step 3.
Start all SLM - URs that were terminated in step 1.
For details about how to start SLM - UR, see 2.1.2 Starting SLM - UR.
If the database restore command terminates normally and SLM - Manager and SLM - URs start, the task of restoring the database is complete