Use the Import repository data command to overwrite the contents of a repository database with the data from an export file (such as rrdb.zip or optimpod.zip). To copy a repository, use the Export repository data command to export the data from every database in the repository. Then, use the Import repository data command to import each of the resulting export files into the corresponding database in another repository.
The following diagram indicates the structure of the command and its parameters.
>>-optimcmd--+- -import-+--+-optimpod-+--filename---------------> '- -i------' '-rrdb-----' >--+------------------------------+---------------------------->< | .-false-. | '-+-dropDatabase=-+--+-true--+-' '-d=------------'
The following information can be entered with the command.
The following return codes can be received when you enter the command.
| Return code | Description |
|---|---|
| 0 | No errors. |
| 8 | The specified export file was not found, or there was an error in importing the database. |
| 12 | The command cannot connect with the repository. |