ajscnvdbexport
- Organization of this page
Format
ajscnvdbexport [-mh logical-host-name] -F scheduler-service-name -b database-backup-file-storage-directory
Description
The ajscnvdbexport command exports the data of the specified scheduler service from the scheduler database of JP1/AJS2 whose version is 8 or earlier to a file in binary format.
You can execute this command only when you can access the database for the scheduler service in JP1/AJS2 whose version is 8 or earlier.
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 the name of a logical host. You can specify a character string of 1 to 255 bytes.
If environment variable JP1_HOSTNAME is set when this option is omitted, the system assumes the logical host name specified in the environment variable. If the JP1_HOSTNAME environment variable is not specified, JP1_DEFAULT is assumed.
-F scheduler-service-name
Specify the name of the target scheduler service. 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 will store database backup files. You can specify a character string of 1 to 244 bytes.
Do not specify a non-existent directory.
When this command is executed, a backup file named table-ID.bk is created for each table in the following directory:
database-backup-file-storage-directory\logical-host-name\scheduler-service-name
Notes
-
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.
-
This command performs operations on the embedded database existing before migration. Therefore, if the embedded database is used as the scheduler database before migration, add the following path to the appropriate environment variable, and then execute the command.
- In HP-UX:
-
SHLIB_PATH=installation-directory-for-the-embedded-database-before-migration/client/lib
- In Solaris or Linux:
-
LD_LIBRARY_PATH=installation-directory-for-the-embedded-database-before-migration/client/lib
- In AIX:
-
LIBPATH=installation-directory-for-the-embedded-database-before-migration/client/lib
If you execute the command without adding the above path, the command outputs the KAVS0990-E message, and terminates abnormally.
-
If the embedded database or HiRDB is used as the scheduler service database in JP1/AJS2 whose version is 8 or earlier, make sure that the embedded database or HiRDB is started before executing the command.
For details about how to start the embedded database or HiRDB, see the applicable JP1/AJS2 or HiRDB manual.
Return values
0 |
Normal end |
Multiple of 4 from 4 to 124 |
Abnormal end |