Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Migrate streams and components to a new RTC 4 repository

We have a sandbox repository where we migrated from SVN. Now we have to move to a production repository. I would like to retain the existing streams. The problem with starting from scratch is that there was a lot of work moving to RTC, and we would have to recreate that work unless we have a way to migrate our repository.
I have read the Bulk Move Work Items between Project Areas in RTC 4, but that does not seem to apply.I have 2 streams and 5 components in those streams with several baselines, but most of those baselines are test builds rather than actual code changes.
One way I thought of would lose all history:
Create the streams with empty components in the target repository
load each component into a local workspace
unload and load (or copy the data) into the a local repository for the new Repository.
I'm using RTC 4.0,4 on Linux (RHEL 6).

0 votes

Comments

deleted dup



3 answers

Permanent link
make sure you have an RTC Eclipse setup that can connect to both servers

you will need to enable Distributed SCM to make this work, and enable the users role to do this..

ccm/advanced properties,
Enable Distributed SCM = true

user role
open project, process config, team config, source control, replicate changesets (server), check the box for your user role)

view the streams in on the source repository, right click, duplicate, select the target repository, edit the name if you want before the copy...

make sure that the components, and workspaces are owned by the right users on the target system.

and see https://jazz.net/library/article/535/
on how to correct the chnageset owner userid mapping if they are not on the same JTS.

I worked on a project than needed 50 streams and 300 workspaces copied..
I wrote code to do this..

1 vote

Comments

Thanks. This appears to be the best way to do this, but I'm not sure how to set ccm/advanced properties
I checked in the 4.0.4 directory and do not have any advanced properties.

https://server:port/ccm/admin, select advanced properties in the left nav.. search for 'distributed scm'... (the string above)..

you will have to have admin rights of course..

In this case, server being the RTC server?

yes, the same URL you used in Eclipse plus /admin


Permanent link
You'll have to use distributed SCM to deliver all of your components to your production repository.

Flow changes cross repositories with Rational Team Concert

0 votes


Permanent link
 What about duplicate repository workspace? The same as duplicate stream?

0 votes

Comments

yes.. workspace and stream are functionally identical.. one has the 'stream' flag turned on, the other does not.

my copy utility handles each separately (so I can filter out user workspaces)  but uses the same apis.

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: May 29 '14, 9:24 a.m.

Question was seen: 4,087 times

Last updated: Mar 30 '15, 1:35 p.m.

Confirmation Cancel Confirm