Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Integrated Management - Service Support Configuration and Administration Guide


jssdbrecovery.bat (recovers a database)

Organization of this page

Description

This command recovers data in the database of JP1/IM - Service Support. To run this command, go to the Start menu and click Programs, JP1_Integrated Management - Service Support, and JP1_IM-SS Command Prompt. Then execute the command. The arguments you can specify depend on the JP1/IM - Service Support product being used.

Format

For JP1/IM - Service Support (Standard):
jssdbrecovery.bat -f backup-file-name {-maint | -expand}
JP1/IM - Service Support Advanced Edition:
jssdbrecovery.bat {-f backup-file-name | 
                   -i name-of-the-folder-to-output-the-backup-file-to {-ALL | -mdb | -sdb}}
                  {-maint | -expand}

Required execution permission

Administrator permissions

Storage folder

IM-SS-path\tools\

Arguments

-f backup-file-name

Use an absolute path to specify the name of the backup file to be used to recover the data in the database of JP1/IM - Service Support. When JP1/IM - Service Support Advanced Edition is used, not only the data in the Item management database but also the data in the Item storage database is recovered.

Note the following when you specify a backup file:

  • Make sure that the folder that was used for backup is specified for the storage folder for the JP1/IM - Service Support database.

  • The backup file must exist on a local drive. You cannot use a backup file on a network drive.

  • You cannot use a UNC path to specify the backup file.

  • The path for the backup file must be an absolute path consisting of 259 bytes or less. The backup file name itself must be 255 bytes or less. Count full-width characters for 2-byte characters in the file name.

  • The backup file name must not contain multi-byte characters. In addition, you cannot use character strings that are not recognized by the OS.

  • When JP1/IM - Service Support Advanced Edition is used, the backup file created by the jssdbbackup.bat command with the -o option cannot be specified for the -f option in the jssdbrecovery.bat command.

-i name-of-the-folder-to-output-the-backup-file-to

This option can be specified only when JP1/IM - Service Support Advanced Edition is used.

Use an absolute path to specify the name of the folder to which to output a backup of the database of JP1/IM - Service Support. Specify this option when you recover the backup file created by the jssdbbackup.bat command with the -o option.

Note the following when you specify name-of-the-folder-to-output-the-backup-file-to:

  • For name-of-the-folder-to-output-the-backup-file-to, specify the folder to which the backup file created by the jssdbbackup command with the -o option has been output. Do not rename the files and folders in this folder.

  • Make sure that you specify a local drive for the drive to output the backup file to. You cannot specify a network drive.

  • You cannot specify a UNC path.

-ALL

Recovers the backup files for the Item management database and Item storage database, which are stored in the folder (specified by the -i option) to output the backup files to.

-mdb

Recovers the backup file for the Item management database, which is stored in the folder (specified by the -i option) to output the backup files to.

-sdb

Recovers the backup file for the Item storage database, which is stored in the folder (specified by the -i option) to output the backup files to.

-maint

Recovers a backup file that was created by using the jssdbbackup.bat command with the -maint option.

-expand

Restores a backup file that was created by using the jssdbbackup.bat command with the -expand option.

Return values

Return value

Meaning

0

Normal end

1

Abnormal end

Prerequisites for executing the command

Remarks

Example

The following example shows how to recover the data in the Item management database using a backup file (c:\backup\backup).

jssdbrecovery.bat -f c:\backup\backup -maint