Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Moving Sql Server

Author  Topic 

keithc
Starting Member

35 Posts

Posted - 2004-11-08 : 17:36:33
Hi need some help here.
Scenario:
Existing Sql 2000 box is going to be formatted
Same box is being made a 2003 server DC (First DC in new domain)

What needs to be done:
I need to get the old sql onto the new box

What i was planning is Detaching all db's copying to network share then backing them up
Then formatting the box putting 2003 server on
Installing SQl 2000 pac it to sp3 then copy db's that were detached from the network share to the newly installed sql box and then attaching and reapplying security.

I dont even know if the above is correct way of doing this and I'm also confused how to get the logins over as well and should I keep the sql box the same name as the old etc.

chadmat
The Chadinator

1974 Posts

Posted - 2004-11-08 : 17:39:30
That will work. You will have orphaned users in all of your DBs though. You will need to recreate all of the logins and map them to the existing Database Users. Other than that, your method should work. I would suggest also taking backups of everything as well.

-Chad

http://www.clrsoft.com

Software built for the Common Language Runtime.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-11-08 : 17:40:10
If the path information to the MDF and LDF files is exact on the old and new servers, then you can just stop MSSQLSERVER service on the new box, copy the files in, then startup the service.

Otherwise,
http://support.microsoft.com/default.aspx?scid=kb;en-us;224071&Product=sql2k

Tara
Go to Top of Page

keithc
Starting Member

35 Posts

Posted - 2004-11-08 : 21:26:36
Doing a test run and so far detach is going fie except I can't detach Master. I set the T3608 flag for startup which let me detach model/msdb/tempdb but still not sure what to do with master. Should I just do a restore to new sql install from backup of master on old install? Instead of doing detach should I maybe just do a backup of all db's then copy out those backups to a network share then restore to new sql install? Actually if I stop the sql service isnt that the same as detachment as well?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-11-09 : 12:45:39
Yes stopping the service is the same as detaching.

Tara
Go to Top of Page

CanadaDBA

583 Posts

Posted - 2004-11-09 : 13:20:08
I suggest you study my case: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=41453

Also, my last post in page 2 has a useful small script.

Canada DBA
Go to Top of Page
   

- Advertisement -