SQL Server 2005 Domain Change

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.

bdorsey63Asked:
Who is Participating?
 
rbrideConnect With a Mentor Commented:
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
 
bdorsey63Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.