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, |
Accepted answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jun 18 '14, 1:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 18 '14, 1:01 p.m.
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
Comments when u right click on a stream or workspace and say duplicate, what does it do?
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.
|
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?!)..