TFS Sql Server Database Migration

pdsqsql 411 Reputation points
2021-06-12T15:38:13.797+00:00

Hello,
I am having difficulties to migrate sql server TFS databases from old server to new server as couldn't access TFS after migrating.
We have Sql Server 2012 which is hosting TFS and now we are trying to migrate it to new Sql server 2017 and installing TFS 2018 but after migrating TFS database, we are having issue to access TFS.
We have similar permission setup what we have in current environments.
We tried following steps:

  1. taken backup of existing following TFS databases from current TFS sql server and restore into new server with proper permissions.
  2. We tried to install TFS 2018 into new after database migration and selected existing database to use for TFS_Configuration database but still having issue
  3. We also tried to install TFS first as new and let application to create TFS_Configuration database but still having issue to access TFS Admin console.

We are trying migrate following databases:

  1. Tfs_Configuration
  2. Tfs_DefaultCollection
  3. Tfs_Warehouse
  4. WSS_AdminContent
  5. WSS_Config
  6. WSS_Content

Not sure what's the best way to migrate TFS databases with TFS Installation.

Thanks for your help!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,304 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-06-12T15:43:05.727+00:00

    The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Erland Sommarskog 120.2K Reputation points MVP
    2021-06-12T15:59:47.463+00:00

    To add to what DSPatrick says: TFS is a server application on its own, so this is why you primarily should ask in a TFS forum and not in an SQL Server forums. The only reason to ask in an SQL forum would be that you have isolated the problem to related to SQL Server only.

    I would also advice you what when you post in a TFS forum to provide more details. You cay you cannot access TFS, but people can't help you if you don't specify more exactly what happens. What error message do you get? What URL do you use etc?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.