Repository tools command to export the contents of a database

Use the export command to export the contents of a database to a tar file.

Purpose

The export command exports the contents of a database, using the current system encoding, to a tar file.
Note: The export command is only to be used for changing database vendors, for example, going from Derby to Db2®. This command should not be used for backing up databases.

Before running the export command, run the Repository tools command to verify the integrity of a database command against the database to ensure the integrity of the data.

Important: You must shut down the server before you run the command.

Parameters

Attribute Description Required Default
toFile Path to the tar file to which to export data. Yes N/A
teamserver.properties The file system path to the teamserver.properties file. No conf/application/teamserver.properties

where application is jts, ccm, rm, qm, gc, dcc, or relm.

logFile Path to the log file. No repotools-application_export.log

where application is jts, ccm, rm, qm, gc, dcc, or relm.

overwrite Whether the file specified by the toFile option should be overwritten. Legal values: yes, no, true and false. No no

Example

The following example is for Jazz® Team Server. To use this command for other applications, run these options from the server directory:
  • IBM® Engineering Workflow Management (Change and Configuration Management application): repotools-ccm
  • IBM Engineering Requirements Management DOORS® Next (Requirements Management application): repotools-rm
  • IBM Engineering Test Management (Quality Management application): repotools-qm
  • Global Configuration Management: repotools-gc
  • Data Collection Component: repotools-dcc
  • IBM Engineering Lifecycle Optimization - Engineering Insights: repotools-relm

For Windows operating system Open a command prompt and enter this command:

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-jts.bat -export toFile=C:\export.tar teamserver.properties=conf\jts\teamserver.properties

For Unix operating systems Open a command line and enter this command:

cd opt/IBM/JazzTeamServer/server/
./repotools-jts.sh -export toFile=opt/export.tar teamserver.properties=conf/jts/teamserver.properties