0

我已将我们的 TFS 2010(Win 2008 R2 SP1、SQL 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 Tool 创建备份计划。我将 TFS 电动工具安装/升级到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 数据库。

[信息@22:38:23.540] +-+-+-+-+-| 运行 VerifySharepointDatabases:验证有效的 SharePoint 数据库连接字符串 |+-+-+-+-+-

[Info   @22:38:23.540] 

[Info   @22:38:23.540] +-+-+-+-+-| Verify valid SharePoint database connection string |+-+-+-+-+-

[Info   @22:38:23.540] Starting Node: DataBaseAccess

[Info   @22:38:23.540] NodePath : Container/Progress/Conditional/DataBaseAccess

[Info   @22:38:26.965] Node returned: Error

[Error  @22:38:26.965] Cannot find SharePoint databases for applications:  http://xxxxxx-tfs01:17012/. This tool does not support multiple SharePoint farms in TFS configuration. If your TFS server is using multiple farms for SharePoint application, please exclude SharePoint component from the backup plan

[Info   @22:38:26.965] Completed VerifySharepointDatabases: Error

[Info   @22:38:26.965] -----------------------------------------------------


[Info   @22:38:26.965] +-+-+-+-+-| Running VerifyBackupEncryptionKeyOperation: Verify > Reporting Services encryption key can be backed up |+-+-+-+-+-

[Info   @22:38:26.965] 

[Info   @22:38:26.965] +-+-+-+-+-| Verify Reporting Services encryption key can be backed up |+-+-+-+-+-

[Info   @22:38:26.965] Starting Node: VerifyBackupEncryptionKeyOperation

[Info   @22:38:26.965] NodePath : Container/Progress/Conditional/VerifyBackupEncryptionKeyOperation

[Info   @22:38:27.059] Node returned: Error [Error  @22:38:27.059] Provider load failure 

[Info   @22:38:27.059] Completed VerifyBackupEncryptionKeyOperation: Error

[Info   @22:38:27.059] -----------------------------------------------------

3.警报设置失败

[信息@22:43:57.295] +-+-+-+-+-| 运行 VerifyEmailNotifications:验证电子邮件通知 |+-+-+-+-+-

[Info   @22:43:57.295] 

[Info   @22:43:57.295] +-+-+-+-+-| Verify Email Notifications |+-+-+-+-+-

[Info   @22:43:57.295] Starting Node: VerifyEmailNotifications

[Info   @22:43:57.295] NodePath : Container/Conditional/Progress/VerifyEmailNotifications

[Info   @22:44:05.461] Node returned: Error [Error  @22:44:05.461] The Backup Task account 'xxxxxxx-TFS01\TFSServiceAccount' either does not have permissions on your SMTP host or the password specified is invalid. Select an account with permissions to send emails and confirm the password is correct.

[Info   @22:44:05.461] Completed VerifyEmailNotifications: Error

[Info   @22:44:05.461] -----------------------------------------------------

这是在 TFS 2010 环境中工作的。 在此处输入图像描述

4

2 回答 2

1

不要使用 TFS 2012 Backup Power Tools。

而是将 SQL Server 维护计划用于 TFS 数据库备份,将 PowerShell cmdlet 用于 SP 场备份。

以下 MSDN文章提供了有关如何执行此操作的分步说明。

于 2012-10-04T18:05:30.633 回答
0

我不得不使用你提到的 TFS2010的文章。当我在工具文件夹中看到 TFSBackup.exe/TFSRestore 时,我认为他们已正确获取了备份计划向导。我也无法让向导工作。幸运的是,我可以使用我为 TFS2010 编写的代码。这不是直截了当的。非常失望,这个基本的备份和恢复功能仍然无法正常工作。

于 2013-03-07T22:19:53.787 回答