Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command and Definition File Reference


jimdbbackup

Organization of this page

Function

This command backs up the IM database. The following describes the purposes of making such a backup and the types of data that can be acquired.

Backup for error recovery

You must back up the database periodically in order to recover the database in the event of a database failure. The database backup targets are the integrated monitoring database area, the IM Configuration Management database area, and the system database areas.

Backup for expansion

When you are preparing to expand the size of the database, you must temporarily back up the database's data. The database backup targets are the integrated monitoring database area and the IM Configuration Management database area.

Format

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

-o backup-file-name

Specifies the absolute path name of the file to which the database is to be backed up. You must specify a logical drive or a backup file. This option is mandatory.

An error results if you specify a network drive, a UNC path, or a Windows reserved device file. If the specified backup file already exists, the existing file will be overwritten.

Make sure that the value you specify for backup-file-name includes a file path. The characters permitted for the file name are alphanumeric characters, the underscore (_), dot (.), hash mark (#), and at mark (@). The character set also depends on the OS. If the name contains a space or a parenthesis (( or )), the entire name must be enclosed in double-quotation marks ("). In Windows, the backup file name when MAINT is specified must be in all lowercase letters. The maximum length of the file name depends on OS limitations.

If the directory for storing the specified backup file is not found, command execution fails. Make sure that you create the directory before you execute the command.

-m {MAINT|EXPAND}

Specifies the database backup format. The permitted characters are uppercase letters. This option is mandatory.

  • MAINT: Specifies a backup for error recovery

  • EXPAND: Specifies a backup for expansion

-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 backs up 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. In addition, the logical host name is case sensitive.

-q

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

Return values

0

Backup terminated normally

1

Backup terminated abnormally

Notes