Hitachi

JP1 Version 11 JP1/Service Level Management Description


9.4 jslmdbcopy (backs up database)

Function

This command backs up the database used in SLM.

The database is configured on the host on which SLM - Manager is installed. To be prepared for problems that might occur on the host on which SLM - Manager is installed, we recommend that you execute this command periodically to back up the database.

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\jslmdbcopy.log

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

Format

jslmdbcopy 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 file to which the backup file is to be output.

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:

If the backup file destination folder specified as the absolute path does not exist, create the folder before you execute the command.

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

Notes

Return value

Return value

Description

0

Database backup processing terminated normally.

1

Database backup processing failed.

Example

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