Job Management Partner 1/Automatic Operation GUI and Command Reference
This command backs up (exports) or restores (imports) the databases of JP1/AO. You use this command when re-organizing the databases of JP1/AO.
hcmdsdbtrans
/export
/workpath working-folder-path
/file archive-file-path
[/auto]
hcmdsdbtrans
/import
/type Automation
/workpath working-folder-path
[/file archive-file-path]
[/auto]
Common-Component-installation-folder\bin
Execute the command as a user with Administrator permissions.
The following table lists the return codes from the command with the /export option.
| Return code | Description |
|---|---|
| 0 | The command succeeded. |
| 1 | Obtaining the product version failed. |
| 2 | The databases are not running. |
| 3 | Archiving the databases failed. |
| 4 | The working folder is not empty. |
| 5 | Archiving the databases failed due to their total size being larger than 2 GB. |
| 233 | Restarting the databases is being interrupted. |
| 234 | The database services are stopped or do not exist. |
| 235 | The databases are not initialized. |
| 237 | Starting the Hitachi Command Suite products or databases failed. |
| 238 | Stopping the Hitachi Command Suite products or databases failed. |
| 239 | Starting the databases failed. |
| 240 | Stopping the databases failed. |
| 255 | The command terminated abnormally. |
The following table lists the return codes from the command with the /import option.
| Return code | Description |
|---|---|
| 0 | The command succeeded. |
| 1 | Obtaining the product version failed. |
| 2 | The databases are not running. |
| 3 | Extracting the archive file failed. |
| 4 | The working folder is not empty. |
| 5 | The specified product is not included in the archive file. |
| 6 | The specified product is not installed. |
| 7 | A version of the product that cannot be imported is found. |
| 8 | The working folder has no data to be imported, or the data for importing has an invalid format. |
| 9 | You attempted to import the data on the secondary server into the primary server. |
| 10 | You attempted to import the data on the primary server into the secondary server. |
| 11 | You attempted to import the data into the database in use. |
| 233 | Restarting the databases is being interrupted. |
| 234 | The database services are stopped or do not exist. |
| 235 | The databases are not initialized. |
| 237 | Starting the Hitachi Command Suite products or databases failed. |
| 238 | Stopping the Hitachi Command Suite products or databases failed. |
| 239 | Starting the databases failed. |
| 240 | Stopping the databases failed. |
| 255 | The command terminated abnormally. |
The following commands show examples of how to use the command for each case.
All Rights Reserved. Copyright (C) 2012, 2013,Hitachi, Ltd.