Use the Export repository data command to export the data in a repository database to 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--+- -export-+--+-optimpod-+--filename-------------->< '- -e------' '-rrdb-----'
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 export file cannot be written to the specified location, or there was an error in exporting the database. |
| 12 | The command cannot connect with the repository. |