Solved

SQL Server 2005 Domain Change

Posted on 2011-09-27
2
302 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
2 Comments
 
LVL 4

Accepted Solution

by:
rbride earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Having clause with Case 2 32
SQL Select * from 6 36
Record open by another user 6 50
ms sql + top 1 for each customer 3 43
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now