copyWorkspace() across servers.??
![]()
In my project cloning utility I need to copy the workspaces from server A project X to server B project Y.
I have the streams and components. build engines and build defs.
I think I want to use
server_B_wkspcmgr.copyWorkspace(server_B_relative_owner, server_a_workspace_connnection, etc);
I don't see any restrictions about copy across server.. is this distributed SCM? if so, then I have to enable on both servers to make this work..
did I get that right?
|
Accepted answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Jan 15 '14, 11:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Sam,
yes, this is distributed SCM. You need to enable both server, and also enable the user you use to replicate change sets. You would basically pull the data from a stream into a repository workspace on the new server and then deliver that to the new stream there. That replicates all the involved change sets from the one server to the other.See https://jazz.net/library/article/535 . Please be aware, the work item links on the change sets will still point to the old repository. I would suggest to rather have people to deliver all their open work into a stream and then only ship the data contained in the streams over. I can provide you with a little bit more information, If you send me an e-mail. sam detweiler selected this answer as the correct answer
Comments thanks.. the servers are enabled for DSCM,
the streams are duplicated already. the user doing the work is authorized for replicate change sets.
unfortunately there are a number of workspaces that builds run from that didn't get created, so builds will fail,.
I do not know the state of those workspaces relative to the streams, so can't depend on the stream to source them.
want to copy 'as is'.
we are fixing up the links in workitems (and workitem comments) to correct to the new server data.
(see my question relative to comparing references to determine if an attachment already exists)
I don't know if I have you email on the system I am on.
as an admin user, can I see ALL workspaces? (not contents, but their existance?) Hm.. got a socket timeout on the first copy..
I don't see a configuration for this in the CCM Advanced config for DSCM.
my projects are already set to 9999, but the data doesn't pass thru the client.
(this is 3.0.1 to 3.0.1 copy)
|