我已将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.。当我尝试使用备份计划向导创建备份计划时,我收到错误。 (我的猜测是在升级过程中,DB的一些权限被撤销了。)
这是我的备用计划设置:
看起来有三个问题:
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] [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。警报设置失败
[Info @ 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环境中有效。
答案 0 :(得分:1)
请勿使用TFS 2012备份电动工具。
而是使用SQL Server维护计划进行TFS数据库备份,使用PowerShell cmdlet进行SP场备份。
以下MSDN article分步介绍了如何执行此操作。
答案 1 :(得分:0)
我必须使用您在TFS2010中提到的the article。当我在tools文件夹中看到TFSBackup.exe / TFSRestore时,我认为他们已经使备份计划向导正确。我也无法让向导工作。幸运的是,我可以使用我为TFS2010制作的代码。这不是直截了当的。非常失望这个备份和恢复的基本功能仍然不能很好地工作。