克隆升级和恢复数据库问题 [英] Clone upgrade and restore DB problem

查看:81
本文介绍了克隆升级和恢复数据库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。 
$


为了测试升级过程,我需要创建新的TFS实例。我正在遵循MSDN指南"将Team Foundation Server从一个硬件移动或克隆到另一个硬件"。 https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-clone-hardware。它看起来很简单但是b ... b ... b
$
我的升级过程假设使用来自生产完整数据库备份的新主机名创建克隆。 VM tfs2013->  新的VM tfs 2015,生产服务器必须保持在线。新服务器的完整备份数据由生产服务器
上的TfsManager作业创建,可在网络共享上使用。  在克隆VM上修改etc / hosts文件以阻止访问生产服务器(dns映射到不存在的IP)。 



我的问题是在步骤"恢复TFS数据库" 。  从TFS管理控制台我运行还原向导,列出完全备份,选择所需的备份集,准备情况检查以问题结束 - SQL帐户错误错误,没有冲突的数据库,。在网络
监视器中,我看到生产TFS上与SQL服务器的连接。  由于etc / host生产服务器保护,此检查失败。

hello. 

For testing upgrade process I need to create new TFS instance. I'm folloving MSDN guide "Move or Clone Team Foundation Server from one hardware to another" https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-clone-hardware . it looks straightforward but ...

My upgrade proces assume creating clone with new hostname from production full DB  backup. VM tfs2013->  new VM tfs 2015, production server have to stay online. Full backup data for New server was created by TfsManager job on production server and is available on network share.  On clone VM is modified etc/hosts file to block access production server (dns mapping to nonexisting IP). 

My problem is On step "Restore the TFS databases" .  From TFS Admin console I run Restore Wizard, list Full Backup, select required Backup Set, readiness checks ends with problems - SQL Accounts errors error, No conflicting database, . In network monitor I see connections to SQL server on production TFS.  this checks fails because of etc/host production server protection.

但为什么还原向导尝试连接到生产服务器?在独立的tfsRestore.exe中缺少像目标服务器这样的东西

我错过了什么? 

i'm missing something ? 

感谢您的帮助。  

thanks for any help. 

推荐答案

我通常这样做

在新的应用层上安装TFS没有配置任何东西

Install TFS on the new app tier without configure anything

使用SQL管理器恢复数据库

Restore databases using SQL manager

运行tfsconfig / remabdbs

run tfsconfig /remabdbs

您可能需要运行"tfsconfig accounts / add"更改服务帐户

you might need to run "tfsconfig accounts /add" to change the service account

在TFS应用层启动升级向导并升级

Start upgrade wizard on TFS app tier and upgrade it


这篇关于克隆升级和恢复数据库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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