It's all about the answers!

Ask a question

Recover RTC Streams


Luis Villaca (11) | asked Nov 30 '09, 2:02 p.m.
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

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Nov 30 '09, 3:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
John Camelon (1.7k14) | answered Nov 30 '09, 4:45 p.m.
JAZZ DEVELOPER
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

permanent link
John Camelon (1.7k14) | answered Dec 01 '09, 9:30 a.m.
JAZZ DEVELOPER
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

Comments
Dave Marsico commented Feb 13 '13, 9:05 a.m. | edited Feb 13 '13, 9:33 a.m.

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


Dave Marsico commented Feb 13 '13, 9:05 a.m.

 with RTC 4.0


Tim Mok commented Feb 13 '13, 11:45 a.m.
JAZZ DEVELOPER

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.


Dave Marsico commented Feb 13 '13, 2:35 p.m.

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

Your answer


Register or 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.