Solved

Restore master database

Posted on 2008-10-03
5
170 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

920 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

15 Experts available now in Live!

Get 1:1 Help Now