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

Can we migrate snapshot from one repository to another (different servers)?

Hi,

My customer is using RTC 4.0.2, he migrated the streams from one repository (UAT) to another (PROD), the repositories are on different servers. They changed the flow target/accept change/deliver the change to migrate the streams, but this did not carry over the snapshot they took before. They would like to copy the snapshots from UAT to PROD.

I informed him that when he deletes the stream, he would get a warning message that the stream contains snapshots and asked to select another stream to take ownership of them. He could then point to the location of the new streams. The prompt about moving the snapshots would move all of the snapshots that the deleting stream owns. I'm not sure if he could point to a stream in another repository and different server, but anyway customer does not want to delete them.

Question:

Will the scm snapshot promote command address this issue (the repositories are on different servers)?

https://jazz.net/forum/questions/143464/how-can-i-move-a-snapshot-without-deleting-the-stream

If not, please let me know if you have any suggestions to address this issue.

Thanks in advance,

0 votes

Comments

how did he migrate the stream? If he used the Eclipse Duplicate function, the snapshots should have replicated too (I think)..  least my stream copy code depends on it happening.. haven't heard any complaints of missing snapshots.

Thanks Sam, I will need to check how they migrated their stream from one server to another.

Thanks Sam for your assistance, my customer "enabled distributed scm" and allowed "replicate change sets" before they start the migration, and they found that all baselines were migrated, but not the snapshots. According to Ralph, distributed SCM does not migrate snapshots, so they are going to recreate them.

thanks for the feedback, disappointing news to hear overall.

so far the other customer hasn't yelled about this since February so I guess they didn't care, (or notice?!)..


Accepted answer

Permanent link
Distributed SCM does not migrate/bring over snapshots. Snapshots only live in one SCM server.

Distributed SCM also only brings over the latest baseline. You can however manually get/deliver the baselines. You can use the baselines to set up streams similar to the ones with the snapshot (and create a snapshot for them).
Paulo Tawada selected this answer as the correct answer

1 vote

Comments

when u right click on a stream or workspace and say duplicate, what does it do?

I migrated some 400 of these between systems and had no complaints of missing data.

my code used:

deststream_or_workspace= destmgr.copyWorkspace(dest_project, srcstream_or_workspace,  name,description, logger);


Thanks Ralph, I was thinking about suggesting to them to enable the Distributed SCM, but it seems like this is not going to allow them to move the snapshots.

Thanks Ralph for your assistance.

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: Jun 18 '14, 12:12 p.m.

Question was seen: 3,501 times

Last updated: Jun 27 '14, 7:57 p.m.

Confirmation Cancel Confirm