一台SQL Server托管开发和生产环境 [英] one SQL server hosts dev and prod environments

查看:121
本文介绍了一台SQL Server托管开发和生产环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前只有一台sql服务器,它托管开发和生产数据库相同的sql服务器.因此,我需要为开发准备新的数据库sql服务器,并配置从现有sql服务器到新创建的服务器的所有开发数据库.

Currently one sql server, which is hosting development and production databases same sql server. So i need to prepare new database sql server for development and configure all development databases from existing sql server to newly creating server.

预先感谢.

Badri

推荐答案

在创建SharePoint环境时,您是否使用了SQL别名?如果是这样,则只需将开发环境的所有数据库备份并还原到新服务器上,然后在开发服务器上更改SQL别名. 使用SQL别名然后执行相同的操作,但是使用旧SQL服务器的名称在Dev服务器上本地创建SQL别名,并将别名指向新的SQL服务器.
When the SharePoint environment was created did you use a SQL alias?  If so, then you can just backup and restore all the databases for the development environment to a new server and change the SQL alias on the dev server(s)..  If you didn't use a SQL alias then do the same thing, but create a SQL alias locally on the Dev server using the name of the old SQL server and point the alias at the new SQL server.


这篇关于一台SQL Server托管开发和生产环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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