Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Command Reference


ajscnvdbimport

Organization of this page

Format

ajscnvdbimport
     [-mh logical-host-name]
     -F scheduler-service-name
     -b database-backup-file-storage-directory

Description

The ajscnvdbimport command imports the database backup data created by the ajscnvdbexport command to the specified scheduler database.

If the specified scheduler service already has data, the command deletes the existing data, and then imports the backup data.

You can execute this command only when you can access the scheduler service database.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:

JP1/AJS3 - Manager-installation-folder\tools\

In UNIX:

/opt/jp1ajs2/tools/

Arguments

-mh logical-host-name

Specify a logical host name. You can specify a character string of 1 to 255 bytes.

If this option is omitted, the value of the JP1_HOSTNAME environment variable is assumed. If the environment variable is not set, JP1_DEFAULT is assumed.

-F scheduler-service-name

Specify the name of the scheduler service for which you want to import the backup data to the database. You can specify a character string of 1 to 30 bytes.

-b database-backup-file-storage-directory

Specify the absolute path name of the directory that contains the database backup file. You can specify a character string of 1 to 234 bytes.

The value you specify in this option is the value that was specified in the -b option when the ajscnvdbexport command was executed.

Note

This command is used for migration from JP1/AJS2 V8 or earlier. An attempt to import the backup data to the scheduler service set up in JP1/AJS3 V9 results in an error.

Return values

0

Normal end

Multiple of 4 from 4 to 124

Abnormal end