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

Recover RTC Streams

Hello,
Our team currently uses two RTC Source control streams, one for our current production code, and one for our new development work (stemming from our production code, as we perform merges between the two when necessary). Both of these streams have been deleted. The components that flow to those streams still exist with the applicable source code history (we see these components under /Source Control / Components/). These components applied to both Streams.

For recovery:

Is it possible for us to take the component data that we see and re-associate it with new streams so that we can keep our history and restore our original streams - and if so, how can we do this?
Or is there any administration tool that already does it for us?

Many thanks, regards

0 votes



3 answers

Permanent link
I believe the short answer is "no", you cannot restore a stream from the
component data using the GUI. You can get a list of baselines of the
component, and then update a new stream with a series of those
baselines, but you'd have to select the order in which you want those
baselines to appear in the stream.

I believe that there actually is "baseline predecessor" information
stored in the repository, which might be accessible from the API if you
were willing to write some java code, but we'd need the SCM team to
comment on that.

Cheers,
Geoff

lvillaca wrote:
Hello,
Our team currently uses two RTC Source control streams, one for our
current production code, and one for our new development work
(stemming from our production code, as we perform merges between the
two when necessary). Both of these streams have been deleted. The
components that flow to those streams still exist with the applicable
source code history (we see these components under /Source Control /
Components/). These components applied to both Streams.

For recovery:

Is it possible for us to take the component data that we see and
re-associate it with new streams so that we can keep our history and
restore our original streams - and if so, how can we do this?
Or is there any administration tool that already does it for us?

Many thanks, regards

0 votes


Permanent link
Hello Luis,

We do not have any explicit "restore stream" functionality. This has been put into the plan for 3.0 with work item https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/98775 .

To restore the stream manually, you can do the following:
1. Create a new stream manually.
2. If you are using Jazz Source Control for your build, take a continuous build workspace as a starting point. Otherwise, use a developer workspace as your starting point.
3. Add components to the new stream from the workspace that you considered your starting point using the Eclipse or VS.NET workspace editor.

Additional developers will often have some more fixes in their workspace which they can contribute back to the new stream, in the case that the starting point workspace does not contain all the changes you require.

Any additional work can be found either by searching for change sets in the Eclipse UI or by navigating through work items, although this can be a time consuming process.

I hope this helps,
JohnC
Jazz SCM Lead

0 votes


Permanent link
There is also a technote which illustrates similar steps for recreating a stream from a workspace.

http://www-01.ibm.com/support/docview.wss?rs=3488&uid=swg21410691

JohnC
Jazz SCM Lead

0 votes

Comments

 Is the TechNote JohnC mentions here still the current "best method" for recovering from a delete stream?

 with RTC 4.0

The work item John posted has been implemented. It provides an option to create a snapshot when deleting a stream. If you didn't create a snapshot, you'll have to refer to the technote.

Thanks Tim,  I'll add that to our best practices to ensure they make a snapshot. 

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

Question asked: Nov 30 '09, 2:02 p.m.

Question was seen: 8,335 times

Last updated: Feb 13 '13, 2:35 p.m.

Confirmation Cancel Confirm