Solved

Restore master database

Posted on 2008-10-03
5
172 Views
Last Modified: 2012-05-05
I need to restore the master database to a new server. The file structure is completely different, so I'll also need it to move the current ldf and mdf files. I have the server in single user mode and do not know how to query the server since i cannot open up MSSMS and do a new query, without it complaining about single user mode. Is there an OSQL statement or how else would this be done?
0
Comment
Question by:josgan
  • 2
  • 2
5 Comments
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 22636867
0
 

Author Comment

by:josgan
ID: 22638131
I need to restore from a different database server. Right now i'm getting "the backup set holds a backup of a database other than the existing 'master'database
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 500 total points
ID: 22638179
That will not work.  Your database IDs will be wrong, your users will be wrong.

What are you attempting to accomplish by copying master anyway?
0
 

Author Comment

by:josgan
ID: 22638199
I wanted to copy over all the database permissions and other information some programs store in the master instead of in their own databases.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

813 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

10 Experts available now in Live!

Get 1:1 Help Now