Instead of doing a detach/attach upgrade there is another option available to you.?detach/attach upgrades have had issues in the past and though?most of these issues have been fixed, it's considered a?suboptimal solution.
Instead, perform an Upgrade Installation.
Take a full backup of?all your TFS 2015u3 databases and restore them to the new SQL server instance. You can create the full backup using the Team Foundation Server Admin Console, or use SQL Server Management Studio after stopping all TFS services on each Application Tier (in your case there is probably only one) using
TFSServiceControl quiesce
Now install TFS 2017 and perform the "upgrade" installation and point it to your existing databases. It will ask you if you want to upgrade them and whether you have a valid backup.
And after some time (upgrades can take a while, as data is moved around the databases), your TFS server will come back online.?The installation wizard usually does all the mapping work required.
There is one big caveat, and that has to do with?domain changes. If you are
installing in the?same Windows Active Directory domain, you're good. But if your server is running in Workgroup mode you may want to remap all the identities in your TFS database prior to running the upgrade step. So install TFS, but do not configure yet. Run the following command
TFSConfig Identities /change /fromdomain:Domain1 /todomain:Domain2
Then use the upgrade option?to have TFS use your database backups. The full explanation on doing a cross?domain server migration?is documented on MSDN. Be sure to safeguard your pre-upgrade backup until you've verified a successful upgrade.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…