Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference

[Contents][Index][Back][Next]


jimdbrecovery

Function

This command recovers a database from its backup. The command can recover the following types of data:

Recovery for error recovery
In the event of a database failure, the command recovers the database from backup data that was acquired previously. The command recovers only the backup data without using system logs.

Recovery for expansion
Before you expand the size of a database, temporarily back up the data. The databases you need to back up are the integrated monitoring database area and the IM Configuration Management database area.
As part of expanding the size of a database, the command recovers the database from the backup data that was created temporarily.

Format

jimdbrecovery -i backup-file-name
                -m {MAINT|EXPAND}
                [-h logical-host-name]
                [-q]

Execution permission

In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)

In UNIX: Superuser permissions

Storage directory

In Windows:
Manager-path\bin\imdb\

In UNIX:
/opt/jp1imm/bin/imdb/

Arguments

-i backup-file-name

Specifies the absolute path name of the file to which the database was backed up by the jimdbbackup command. You must specify a logical drive for the backup file. This option is mandatory.

An error results if you specify a network drive, a UNC path, or a Windows reserved device file.

-m {MAINT|EXPAND}

Specifies the database recovery format. The permitted characters are upper-case letters. This option is mandatory.

When you execute recovery for error recovery, specify the backup file that was acquired by a backup for error recovery; when you execute recovery for expansion, specify the backup file that was acquired by a backup for expansion. An error results if the specified argument does not match the type of backup file.

-h logical-host-name

When you are operating in a cluster system, this option specifies the logical host name of the host where the command is executed. The command recovers the database that corresponds to the specified logical host. If this option is omitted, the logical host name specified in the JP1_HOSTNAME environment variable is assumed. If the JP1_HOSTNAME environment variable is not specified, the physical host name is assumed. If you are not using a cluster system, specification of this option is not needed. Note that this logical host name cannot be JP1_DEFAULT.

-q

Specifies that the command is to be executed without requesting confirmation from the user.

Return values

0 Recovery terminated normally
1 Recovery terminated abnormally

Notes

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.