将 TFS 的项目集合移动到另一个磁盘
我安装 TFS 服务器的磁盘空间不足,我想将一些项目集合移动到网络上有更多空间的其他磁盘,我可以继续进行此移动而无需再次重新安装 TFS 并分离集合并附加它吗再次 ?
I am having short place in the disk where my TFS server is installed and i want to move some projet collections to a different disk on network where there is more place, can i proceed this moving without reinstalling again TFS and detach the collection and attach it again ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TFS 安装是特定于服务器的。在该服务器上,您将拥有名为:Tfs_XXX 的集合数据库,以及您的仓库、共享点、报告和配置表。
我想你问的是“我可以在服务器X上有X团队项目,在服务器Y上有Y团队项目,但仍然只有一个TFS安装来管理它们”或者“我可以在服务器X和Y集合上有X集合吗?”在服务器 Y 上,但仍然只安装一个 TFS 来管理它们”
这两个问题的答案是否定的。服务器有集合 - 集合有团队项目。
如果您想将集合或团队项目移动到另一台服务器,则需要单独安装。
我们团队所做的就是在虚拟映像中运行 TFS,以便我们可以根据需要动态扩展驱动器。假设您有硬件来执行此操作,您可能需要考虑类似的解决方案。或者,您当然可以扩展驱动器或设置任务来缩小数据库。
TFS installation is server specific. On that server you will have your collection db named: Tfs_XXX along with that you have your warehouse, sharepoint, reporting and configuration tables.
I think what you are asking is "Can I have X team project on server X and Y team project on server Y but still only have one installation of TFS to manage them both" or "Can I have X Collection on server X and Y collection on server Y but still only have one installation of TFS to manage them both"
The answer to both questions is no. Server has collections - Collections have Team Projects.
You will need to have a separate installation if you want to move your Collection or Team Project to another server.
What our team does is run TFS in a Virtual Image so that we can dynamically expand the drive as needed. You may want to consider a similar solution assuming you have the hardware to do it. Alternatively, you can ofcourse expand your drive or setup tasks to Shrink your db.
是的,我通过将某些项目集合 SQL 数据库移动到不同的 SQL Server 实例,同时将配置数据库保留在原始服务器上来实现这一点。
基本上,您需要配置第二个 SQL Server 实例以允许在其上使用 TFS 数据库,然后将数据库移动到该服务器,然后重新配置项目集合以指向第二个 SQL Server 实例。
在此博客文章中详细了解如何操作:http: //healthedev.blogspot.com/2011/12/move-tfs-2010-project-collection.html
Yes I achieved this by moving certain Project Collection SQL databases to a different SQL Server Instance while leaving the config database on the original server.
Basically you need to configure a second SQL Server Instance to allow TFS databases on it, then move the database to that server, then reconfigure the project collection to point to the second SQL Server instance.
See exactly how to do it in this blog post: http://healthedev.blogspot.com/2011/12/move-tfs-2010-project-collection.html