Hitachi

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


jimgndbbackup

Organization of this page

Function

This command backs up intelligent integrated management database.

The purpose of backup and the types of data that can be acquired are shown below.

Backup for disaster recovery

Backs up your data regularly to recover your database in the event of a database failure. The backed up areas are Trend data Management Database space, Integrated agent host Administration Database space, Dashboard Management Database space, and Response Action results management database space in the database.

Migration backup

Backs up the data to migrate the definition information in the database when migrating JP1/IM - Manager to another host. The backed up areas are Trend data Management Database space, Dashboard Management Database space, and Integrated agent host Administration Database space in the database.

The following shows Execute conditions for this command:

Format

jimgndbbackup -o 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

-o backup-filename

Specifies the absolute pathname of file to which the database to be backed up is to be exported. 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. If the specified backup file already exists, it is overwritten.

The backup-filename must include file pathname. The characters that can be used are alphanumeric characters, underscore "_", dot ".", sharp "#" and at sign "@". Characters depend on OS and must be enclosed in double quotes if they contain single-byte spaces or parentheses "(", ")". Also, the maximum length of a File is subject to OS limitations.

-m {MAINT|TRANSF}

Specifies the database backup format. Half-width capital alphabet. This option cannot be omitted.

  • MAINT: Execute the backup for disaster recovery.

  • TRANSF: Execute the backup for migration.

-h logical-hostname

Specifies Logical host name of the host that Execute the command when operating in a cluster system. Backs up Intelligent Integrated Management Database corresponding to 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 backup terminated normally

1

The backup terminated abnormally

3

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

Notes