Repository tools command to copy the database data

Use the copy command to copy data from one database to another using a tar file.

Purpose

The copy command copies the data from a source repository to a target repository using a .tar file.
Important: You must shut down the server before you run the command.

Parameters

Attribute Description Required Default
toFile Path to the tar file. Yes N/A
target.teamserver.properties Path to the target teamserver.properties file. Yes N/A
source.teamserver.properties Path to the source 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_copy.log

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

overwrite Whether the file specified by the toFile option is overwritten. Legal values: yes, no. No no
noPrompt Do not prompt before creating the tables prior to importing. No N/A
noVerify Do not perform imported data verification. No N/A

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 -copy toFile=C:\export.tar target.teamserver.properties=conf\jts\teamserver.db2.properties

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

cd opt/IBM/JazzTeamServer/Server/
./repotools-jts.sh -copy toFile=opt/export.tar target.teamserver.properties=conf/jts/teamserver.db2.properties

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki