?
Solved

SQL Server 2005 Domain Change

Posted on 2011-09-27
2
Medium Priority
?
309 Views
Last Modified: 2012-05-12
I have an opportunity to move a MS SQL 2005 database instance running on a Windows 2003 server during an AD domain change.

The sql server is going away and will be replaced with a new one, then domain is going away as well. We could just move the domain on the sql server. Not sure that adds any value?

What is the recommended procedure to move the database? What are the issues?


I am looking for details.

0
Comment
Question by:bdorsey63
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
rbride earned 2000 total points
ID: 36715045
Assuming you have installed the new instance on the new server, you can transfer the user databases simply enough with detach / attach.

The main problem is to transfer the logins. These are stored separately in the master database.
Here is an article with some scripts that show you how to do that:
http://support.microsoft.com/kb/918992/en-us

If you have anything such as linked servers, replication etc, then you will also need to set that up too. Just script them out using the management studio and apply the scripts to the other end.

It is possible to actually move the whole lot, but it is a fair bit more complicated and you need to know how to recover from various errors that can arise when something is not referenced properly.
(See also: http://msdn.microsoft.com/en-us/library/ms345408(v=SQL.90).aspx)
0
 

Author Closing Comment

by:bdorsey63
ID: 36719896
Thanks
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question