Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Restore master db from sql 2000 to sql 2008 R2 Expand / Collapse
Author
Message
Posted Monday, May 14, 2012 12:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, May 23, 2012 6:12 PM
Points: 2, Visits: 10
I restored few databases from sql 2000 to sql 2008 R2. All but master db could be restored. I changed the connection to single user mode and tried to restore master db but it generated following error:

"The backup of the system database on the device c:\db-backup\Master.dat cannot be restored because it was created by a different version of the server (8.00.2039) than this server (10.50.1600). (Microsoft.SqlServer.Smo)

Your help will be appreciated.

-Puskal


Puskal
Removalists Sydney
Post #1299363
Posted Monday, May 14, 2012 1:13 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, December 11, 2014 7:23 AM
Points: 2,668, Visits: 5,924
You cannot restore master from SQl Server 200 to 2008, many interbnal thibgs changed that affect the master database.

What do you want to keep from the old master db - if it is just logins, passwords etc then I would script them out from the old installation to reload to the new. There are options to do this in Management Studio.

Mike John



Post #1299385
Posted Monday, May 14, 2012 12:50 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 4:19 PM
Points: 2,328, Visits: 3,505
You should be able to restore the master db to a different db name, if you want to pull data from the old master db directly in the SQL 2008 instance.

SQL DBA,SQL Server MVP('07, '08, '09)

Carl Sagan said: "There is no such thing as a dumb question." Sagan obviously never watched a congressional hearing!
Post #1299809
Posted Monday, May 14, 2012 12:53 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, September 19, 2014 5:16 AM
Points: 887, Visits: 1,774
ScottPletcher (5/14/2012)
You should be able to restore the master db to a different db name, if you want to pull data from the old master db directly in the SQL 2008 instance.


however updating the system tables is no longer possible. you cant just change the GUID of a user by updating the corresponding table. was a great undocumented feature that went away since it was also very easy to screw things up if you were not very careful.



For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden for the best way to ask your question.

For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw

Need to Split some strings? Jeff Moden's DelimitedSplit8K
Jeff Moden's Cross tab and Pivots Part 1
Jeff Moden's Cross tab and Pivots Part 2

Jeremy Oursler
Post #1299810
Posted Monday, May 14, 2012 1:02 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 4:19 PM
Points: 2,328, Visits: 3,505
True. I didn't explicitly mention it, but I meant using standard/approved methods, such as generating the legit commands:
CREATE LOGIN
EXEC sp_addlinkedserver
etc..

With the old master db there, you could get (almost) whatever you needed from the existing master.

You could specify the sid on specific SQL users if you wanted to keep those the same, reducing the need to "re-sync" native SQL users as you restore/attach user dbs.


SQL DBA,SQL Server MVP('07, '08, '09)

Carl Sagan said: "There is no such thing as a dumb question." Sagan obviously never watched a congressional hearing!
Post #1299817
Posted Tuesday, May 15, 2012 2:38 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 5:03 AM
Points: 2,900, Visits: 3,298
You should also never restore MSDB from an older version of SQL Server. Each new version introduces new things to MSDB, and they will not work as expected if you use an old version of MSDB. Also, using an old version of MSDB will put you outside of Microsoft Support.

Original author: SQL Server FineBuild 1-click install and best practice configuration of SQL Server 2014, 2012, 2008 R2, 2008 and 2005. 18 October 2014: now over 31,000 downloads.
Disclaimer: All information provided is a personal opinion that may not match reality.
Concept: "Pizza Apartheid" - the discrimination that separates those who earn enough in one day to buy a pizza if they want one, from those who can not.
Post #1300091
Posted Tuesday, May 15, 2012 3:17 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 29, 2013 8:06 AM
Points: 167, Visits: 414
Could you share the script for same...

Thanks in advance.
Satish
Post #1300101
Posted Thursday, May 17, 2012 6:05 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, May 23, 2012 6:12 PM
Points: 2, Visits: 10
Thanks everyone for your help. I found that we cannot restore the Master db from SQL server 2000 to SQL Server 2008 R2. Therefore I restored other databases except system databases. After that I deleted all the users that came from the previous databases restore and created all the users exactly the same as it was in the SQL 2000. This was because the GUID in the old database was not exactly the same in new 2008 database.



Puskal
Removalists Sydney
Post #1302214
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse