dbTalk Databases Forums  

moving databases to another server with different version

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss moving databases to another server with different version in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tnt
 
Posts: n/a

Default moving databases to another server with different version - 10-08-2009 , 04:00 PM






Hello,

I have three databases on an sql 2000 sp4 server that I like to move to a
newly built sql 2005 server.

Would the detach/retach or backup/restore method work? If so, what other
things do I have to consider?

TIA,
tnt

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: moving databases to another server with different version - 10-08-2009 , 05:06 PM






tnt (tnt (AT) discussions (DOT) microsoft.com) writes:
Quote:
I have three databases on an sql 2000 sp4 server that I like to move to a
newly built sql 2005 server.

Would the detach/retach or backup/restore method work? If so, what other
things do I have to consider?
Yes. Personally, I think BACKUP/RESTORE is the simplest.

As always when you move a database from one server to another, you need
to review login mapping. First you need to make sure that there are logins
for the database users on the target server (at least for the persons
that need to access the databases!). Next is to review the mapping between
database users and logins. Windows users should not be a problem if
servers are in the same domain. SQL users on the other will most likely
not map to the correct SQL login on the new server, but you need to
change that with ALTER USER.

Next thing to consider is that you should run sp_updatestats on all
databases, as statistics are invalidated by the migration.

You should also consider the compatibility level. It will remain in 80
after the RESTORE. If you know that you don't have any compatibility
issues, change it to 90. (You can change it back, if your assumption
proves to be wrong.)


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.