TFS从2013年升级到2017年TFS,无需分离集合 [英] TFS Upgrade from 2013 to TFS 2017 without detaching the collection

查看:357
本文介绍了TFS从2013年升级到2017年TFS,无需分离集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我们已经使用TFS 2013很长一段时间了,它有很大的收藏和很多团队项目和用户。现在我正在尝试在新服务器上设置TFS 2017 POC(而不是生产)。我已经对现有的TFS 2013数据库进行了备份,例如
收集,配置,报告,并在新的TFS 2017数据库服务器上恢复它们​​。



我尝试使用TFS 2017附加此2013年集合,但它给我以下错误。
$


"在以下SQL Server实例中找不到可附加数据库。使用Team Foundation Server中的detach命令验证服务器名称和实例名称是否正确以及数据库是否已正确分离
管理控制台"

Hello all,

We already use TFS 2013 for a long time and it has a very big collection and with many team projects and users. Now I am trying to set up a TFS 2017 POC (not the production) on a new server. I have taken the backup of the existing TFS 2013 databases such as the Collection,Configuration,Reporting and restored them on the new TFS 2017 DB server.

I tried attaching this 2013 collection with the TFS 2017 , but it gives me the following error.

"No attachable databases were found on the following instance of SQL Server. Verify that both the name of the server and the name of the instance are correct and that the database was properly detached using the detach command in the Team Foundation Server Admin Console"

由于许多用户依赖于TFS 2013集合,因此很难获得停机时间。

As many users are dependent on the TFS 2013 collection , getting a downtime for it is difficult.

有没有办法我可以备份和恢复数据库将数据库从主TFS 2013中分离并将其作为新集合附加到TFS 2017中?

Is there a way I can backup and restore the DB without detaching the DB from the main TFS 2013 and attach it as new collection in TFS 2017 ??

提前致谢!

推荐答案

Hi Raga,

Hi Raga,

在应用层机器上安装TFS 2017后,需要运行

ChangeServerId命令
 在运行升级向导之前。如果您从同一客户端访问生产环境和预生产环境,这将确保您不会遇到问题,并且应该在克隆
a集合或完整部署时随时进行。

After you install the TFS 2017 on your application tier machines, you need to run the ChangeServerId command prior to running the upgrade wizard. This will ensure that you don't run into problems if you access both your production and pre-production environments from the same clients, and should be done any time you are cloning either a collection or a complete deployment.

请按照以下文章在预生产环境中升级:

Please follow the article below to upgrade in a pre-production environment:

https://www.visualstudio.com/en-us/docs/setup-admin/tfs/upgrade/pre-production

祝你好运,


这篇关于TFS从2013年升级到2017年TFS,无需分离集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆