无法从Prod恢复数据库:集合未启动 [英] Failed to restore a database from Prod: collection not started

查看:78
本文介绍了无法从Prod恢复数据库:集合未启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个生产服务器(TFS2015 Update 3,没有共享点)的备份(.bak)文件,我需要将其恢复到备份TFS服务器(也是TFS2015 Update 3,没有共享点)。


问题类似于此处报道的内容:


" https://social.msdn.microsoft.com/Forums/vstudio/en-US/33a2968c -01e3-4e4c-9728-4abbca7714fe / restore-specific-collection-database-from-prod-to-dr-using-power-tools-update-1?forum = tfsintegration"


1,我使用TFSRestore并按照向导(打开覆盖选项)恢复备份。 TFSRestore成功完成,我在SQL Server(从SQL Management Studio)中创建了数据库。数据似乎就在那里。  但是,我没有
看到在TFS管理控制台中创建的集合。  


因此,我从TFS管理控制台创建一个同名的集合,停止它,并尝试将该集合映射到SQL数据库。 "测试"集合编辑页面(TFS管理控制台)上的选项显示成功。但是,当我尝试重新启动
集合时,它失败并且我收到错误  TF400876:找不到主机03F6CFAE-E06B-的分区XXXX


我尝试了几乎涉及TFSConfig(RemapDBs,Account,RegisterDB等)的所有报告技巧,但无济于事。该系列拒绝开始。


如何在备份服务器上联机使用此数据库?提前谢谢。


解决方案

嗨rlevanm,


恢复tfs数据后,您需要将集合附加到备份TFS服务器。


您是否在执行还原之前配置备份TFS服务器?


如果您只想从生产服务器备份集合到Backup Server,您可以按照本文中的步骤操作:


https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-project-collection


之后,您需要将该集合附加到您的生产服务器。


最好的问候



I have a backup (.bak) file from Production server (TFS2015 Update 3, no sharepoint) that I need to restore into a backup TFS server (also TFS2015 Update 3, no sharepoint).

The problem was similar to what reported here:

"https://social.msdn.microsoft.com/Forums/vstudio/en-US/33a2968c-01e3-4e4c-9728-4abbca7714fe/restore-specific-collection-database-from-prod-to-dr-using-power-tools-update-1?forum=tfsintegration"

1st, I used TFSRestore and follow the wizard (with overwrite option on) to restore the backup. TFSRestore completed successfully and I got the database created in SQL Server (from SQL Management Studio). The data seemed to be there.  However, I didn't see the collection created in the TFS admin console.  

Thus, I create a Collection of same name from TFS admin console, stop it, and tried to map that Collection to the SQL database. The "Test" option on the Collection edit page (TFS admin console) shown success. However, when I tried to re-start the collection, it failed and I got the error TF400876: Could not find the partition for host 03F6CFAE-E06B-XXXX

I tried almost all the reported tricks involving TFSConfig (RemapDBs, Account, RegisterDB, etc.) but to no avail. The collection refused to start.

What should I do to get this database online on my backup server? Thank you in advance.

解决方案

Hi rlevanm,

After restore tfs data, you need to attach your collection to the backup TFS server.

Have you configure backup TFS server before you execute Restore?

If you just want to backup a collection from your Production server to a Backup Server, you could follow the steps in this article:

https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-project-collection

After that, you need to attach the collection to your Production server.

Best Regards


这篇关于无法从Prod恢复数据库:集合未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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