.net - Team Foundation Server: Cloning a Collection's Project into a new Collection -


we looking create new team foundation server collection next version of our application development. source our current version largely not apply, except few dlls should more or less remain unchanged. wanted make new collection wondering if able clone dll projects our existing collection retain history.

is possible? realize bring "dual maintenance" issues if there bugfixes needed dlls, not concerned scenario.

so far, have come few resources. msdn posts pointing people towards splitting team project collection. issue there, however, can have 1 project in each collection. states:

a project cannot exist in more 1 collection. until delete duplicated projects between split collections, not able start renamed collection.

that not want. maintain both projects history in each collection.

otherwise, saw tfsconfig command. contains /clone option, not quite sure of usage (additional examples hard come by) , mentions used splitting well.

are looking isnt possible? need copy source , add new project in new collection , refer old collection if need history? thanks.

as other commenters have suggested, don't want start new team project collection purpose.

the normal reasons against creating new tpc are:

  1. sharing code or work items between 2 team project collections difficult. it's if you're connecting new server.
  2. unless project big, might need move collection it's own sql server in future, there's not lot of value in new tpc

however, if did decide want create copy of existing tpc on same server, these general steps follow:

  1. open tfs admin console, go team project collections
  2. select existing collection , choose 'detach collection'
  3. wait detach complete. procedure copies "shared" data out of configuration database (like groups/identities) , stores in collection database.
  4. once detach complete, backup databse in sql
  5. in admin console, choose 'attach collection' , choose database detached & backed up

these steps can performed on same server (or server, if want move there)

  1. restore database backup, new database name
  2. in tfs admin console, choose 'attach collection' , choose database restored.
  3. tfs @ guid of database (stored extended property), see same running collection on server, , automatically give new guid.
  4. at point, should have 2 collections running.

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -