Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Command, Definition File and API Reference


jimgndbrestore

Organization of this page

Function

This command recovers Intelligent Integrated Management Database that was saved as a backup. The following are the types of data that can be recovered:

Disaster recovery

When a database failure occurs, the database is recovered using the backup data that is regularly acquired.

Migration recovery

When you migrate a JP1/IM - Manager to another host, you use the backed-up data to migrate the database.

The following shows Execute conditions for this command:

Format

jimgndbrestore -i backup-filename
               -m {MAINT|TRANSF}
              [-h logical-hostname]
              [-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\imgndb\

In UNIX:

/opt/jp1imm/bin/imgndb/

Arguments

-i backup-filename

Specifies the absolute pathname of File of the database that was backed up using jimgndbbackup command. Characters that can be used in File are alphanumeric characters and underscores (_), dots (.), sharps (#), and at signs (@). For the backup file, specify the local drive. This option cannot be omitted.

Error if a network drive is specified, UNC path is specified, and reserved device File is specified in Windows.

-m {MAINT|TRANSF}

Specifies the database recovery format. Characters that can be specified are uppercase single-byte characters. This option cannot be omitted.

  • MAINT: Execute the disaster recovery.

  • TRANSF: Execute the recovery for migration.

When you execute disaster recovery, specify the backup file that was collected in the backup for disaster recovery. When you execute the recovery for migration, specify the backup file that was collected in the backup for migration.

-h logical-hostname

Specifies logical host name of the host that execute the command when operating in a cluster system. The database is recovered for the specified logical host. If this option is omitted, logical host named in the environment variable JP1_HOSTNAME is assumed. If JP1_HOSTNAME is not specified, Physical host is assumed. If you are not using a cluster system, you do not need to specify it. Note that JP1_DEFAULT cannot be specified in a logical host.

-q

Specifies when you execute the command without user-confirmation.

Return values

0

The recovery terminated normally

1

The recovery terminated abnormally

3

Canceled by user (if you enter N/n in KNAN12009-Q Message and Stopped the operation)

Notes