我已将我们的TFS 2010 (Win 2008 R2 SP1,Server 2008 R2 SP1,WSS 3.0 SP2)升级为TFS 2012 (Win 2012 RTM,SQL Server 2012,SPF 2010 SP1)。这是一个服务器场(TFS、SP安装在同一台服务器上)。TFS构建安装在单独的服务器上。一切都很好。
在TFS 2010环境中,我能够使用TFS 2010 Power创建备份计划。我安装/升级了TFS的power工具到TFS 2012电动工具。。当我尝试使用备份计划向导创建备份计划时,会出现错误。(我猜是在升级过程中,数据库的某些权限被撤销了。)
这是我的备份计划设置:


看起来有三个问题:
1.找不到报告数据库
The following is logged:
[Info @22:38:23.430] +-+-+-+-+-| Running VerifyReportingDatabases: Verify valid SQL Reporting Services database connection string |+-+-+-+-+-
[Info @22:38:23.446]
[Info @22:38:23.446] +-+-+-+-+-| Verify valid SQL Reporting Services database connection string |+-+-+-+-+-
[Info @22:38:23.446] Starting Node: DataBaseAccess
[Info @22:38:23.446] NodePath : Container/Progress/DataBaseAccess
[Info @22:38:23.524] Node returned: Error
[Error @22:38:23.524] Cannot find reporting databases
[Info @22:38:23.524] Completed VerifyReportingDatabases: Error
[Info @22:38:23.524] -----------------------------------------------------2.找不到应用程序的SharePoint数据库.
Info @22:38:23.540 +-+-++- VerifySharepointDatabases:验证有效的SharePoint数据库连接字符串+-+-- Info @22:38:23.540 +-++- SharePoint数据库连接字符串+- Info @22:38:23.540起始节点: DataBaseAccess Info @22:38:23.540 NodePath :容器/进步/条件/DataBaseAccess Info @22:38:26.965节点返回:错误22:38:26.965找不到应用程序的SharePoint数据库:http://xxxxxx-tfs01:17012/。此工具不支持TFS配置中的多个SharePoint场。如果您的TFS服务器正在为SharePoint应用程序使用多个场,请将SharePoint组件排除在备份计划信息@22:38:26.965已完成的VerifySharepointDatabases: Error Info @22:38:26.965 SharePoint Info @22:38:26.965 +-++-运行的VerifyBackupEncryptionKeyOperation:验证> Reporting加密密钥可以备份+-+-+ @22:38:26.965 +-+-++-验证Reporting加密密钥可以备份(+- Info @22:38:26.965起始节点: VerifyBackupEncryptionKeyOperation Info @22:38:26.965 NodePath :VerifyBackupEncryptionKeyOperation Info @22:38:27.059节点返回:错误@22:38:27.059提供者加载失败信息@22:38: 38:38:26.965)27.059完成: VerifyBackupEncryptionKeyOperation: Error @22:38:27.059
3.警报设置失败
Info @22:43:57.295 +-++-+-++-+ Info @22:43:57.295 +-++- Info @22:43:57.295起始节点: Container/Conditional/Progress/VerifyEmailNotifications Info @22:43:57.295 NodePath : VerifyEmailNotifications Info @22:44:05.461节点返回: Error Error @22:44:05.461备份任务帐户'xxxxxxx-TFS01\TFSServiceAccount‘对您的SMTP主机没有权限,或者指定的密码无效。选择一个具有发送电子邮件权限的帐户并确认密码是正确的。Info @22:44:05.461完成VerifyEmailNotifications: Error Info @22:44:05.461 VerifyEmailNotifications
这是在TFS 2010环境下进行的。

发布于 2012-10-04 18:05:30
不要使用TFS 2012备用电动工具。
相反,对TFS备份使用Server维护计划,对SP场备份使用PowerShell cmdlet。
下面的MSDN 文章提供了一步一步地介绍如何做到这一点.
发布于 2013-03-07 22:19:53
我不得不使用你提到的文章作为TFS2010。当我在tools文件夹中看到TFSBackup.exe/TFSRestore时,我认为他们已经纠正了备份计划向导。我也不能让巫师工作。幸运的是,我可以使用我为TFS2010编写的代码。不是直接往前走。非常失望的是,备份和恢复的基本功能仍然不能很好地工作。
https://stackoverflow.com/questions/12682299
复制相似问题