?
Solved

Restore master database

Posted on 2008-10-03
5
Medium Priority
?
184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Suggested Courses

743 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