【问题标题】:Microsoft Visual Studio Team Foundation Server 2012 Power Tools DB Backup Tool ErrorMicrosoft Visual Studio Team Foundation Server 2012 Power Tools 数据库备份工具错误
【发布时间】:2012-09-22 20:02:13
【问题描述】:

我已将 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 Power Tool.。当我尝试使用备份计划向导创建备份计划时,出现错误。 (我的猜测是在升级过程中对数据库的一些权限被撤销了。)

这是我的备份计划设置:

看起来有三个问题:

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] +-+-+-+-+-|运行验证共享点数据库: 验证有效的 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] +-+-+-+-+-|运行验证电子邮件通知: 验证电子邮件通知 |+-+-+-+-+-

[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 环境中工作。

【问题讨论】:

  • 如果我禁用报告和共享点数据库和警报(因为这些会导致我的情况出现错误;我真的不想禁用这些备份。),我能够成功创建备份计划。但是,在数据库备份工具的主窗口中,在计划任务信息下,没有条目。它是空白的。如果我转到 Windows 任务计划程序,我确实会在那里看到 TfsTransactionBackup 条目(每天上午 12:00...)。
  • 你也可以在微软论坛上关注这个问题:social.msdn.microsoft.com/Forums/en-US/tfspowertools/thread/…

标签: tfs backup


【解决方案1】:

不要使用 TFS 2012 Backup Power Tools。

改为使用 SQL Server 维护计划进行 TFS 数据库备份,使用 PowerShell cmdlet 进行 SP 场备份。

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

【讨论】:

    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-04
      • 1970-01-01
      • 1970-01-01
      • 2011-05-30
      相关资源
      最近更新 更多