更新测试环境的数据 [英] Update data of test environmen

查看:150
本文介绍了更新测试环境的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们目前在生产环境和测试环境(在同一个域中)运行TFS 2015 Update 3。在我们在生产环境中推出之前,测试环境用于测试模板中的更改或更新方案。对于
测试场景,如果我们可以在我们进行测试升级到2017年TFS之前用生产数据更新测试数据(工作项,存储库,构建定义等),那将是很好的。我们我们认为我们只需要收集
数据库,我们是否正确?

We currently running TFS 2015 Update 3 in a production environment and on a test environment (in the same domain). The test environment is used to test changes in templates or update scenario's before we do roll it out on our production environment. For the test scenario's it would be great if we can update the test data (work items, repositories, build definitions, etc) with the data from production before we, for example, doing an test upgrade to TFS 2017. We are thinking that that we only need the collection database for this, are we correct?

如果我们是正确的,我们仍然有点怀疑我们应该遵循哪些步骤。

If we're correct we are still a bit in doubt which steps we should follow.

我们的猜测是第一个。最初设置测试环境时应使用第二个。

所以:

Our guess is the fist one. The second one should be used when initially setting up the test environment.
So:


  1. 分离集合(我不是因为它会中断生产)
  2. 备份数据库
  3. 在生产中附加集合
  4. 在测试(SQL)服务器上恢复备份 
  5. 在测试环境中附加集合

但是我们想知道我们是否应该对TFSConfig(chancheserverid / remapdb / registerdb)做些什么,因为我的结尾是一个生产项目集合。

But we are wondering if we should do something with the TFSConfig (chancheserverid/remapdb/registerdb) because I'm ending with a copy of a production project collection.

感谢您提供给我的任何建议。

Thanks for any advise you can give me.

推荐答案

您好RemkoP,

Hi RemkoP,

感谢您在此发帖。

是的,您可以像上述步骤一样分离和附加集合,并且由于您在测试环境中复制和使用数据库,因此需要运行TFSConfig(chancheserverid / remapdb / registerdb)

Yes, you could detach and attach the collection like the above steps, and since you copy and use the database in the test environment, you need to run the TFSConfig(chancheserverid/remapdb/registerdb)

最后,你只需要运行一个In-在测试环境中放置TFS升级,您可以参考以下关于2013年至2015年升级的链接:

Finally, you just need to run a In-place upgrade of TFS in test environment, you could refer to the following link about upgrade from 2013 to 2015:

https://blogs.msdn.microsoft.com/tfssetup/2015/ 09/17 / in-place-upgrade-to-team-foundation-server-tfs-2015-from-tfs-2013 /

最好的问候

Limitxiao Gao

Limitxiao Gao


这篇关于更新测试环境的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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