Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rebuilding master database vs reinstall instance and restore dbs

Posted on 2008-10-21
4
Medium Priority
?
829 Views
Last Modified: 2012-06-27
Hi,
what is the advantage of rebuilding the master database and restoring user dbs vs reinstalling the instance and restoring all the databases (including master) when you are restoring from an instance wipeout.
0
Comment
Question by:david_32
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Scott Pletcher
ID: 22769102
You really need to restore the old master and msdb.

Master contains all logins, linked servers and current configuration settings, for example.  So you will lose all your logins and any linked servers and adjusted (tuned) configuration settings.

Msdb contains:
    -- all job-related info (jobs, schedules, etc.)
    -- all packages (stored in SQL)
    -- all alerts and notifications
    -- backup and restore history for every db
    -- operator info (if you've added any)


It's not really that hard to restore master, but you do need to practice it before an actual disaster occurs.  After one or two recoveries, it will be fairly straightforward to you.
0
 

Author Comment

by:david_32
ID: 22772223
thanks Scott - that is not what I am after though. I forgot to say you would assume in both case reinstall instance and rebuilding master (REINSTALLMODE=AMUS) you would continue on to restore the master db. My question was what is the advantage of rebuilding the master database (which you would restore a master db afterwards - sorry I left that out) and restoring user dbs vs reinstalling the instance and restoring all the databases
0
 
LVL 70

Expert Comment

by:Scott Pletcher
ID: 22777459
D'OH, sorry, quite right.

Assuming the disk data is not damaged, you should be able to simply restore master, msdb and the user databases [you don't even need to rebuild the existing master].  That should not be any issue *for SQL*.

However, from what I hear from our Windows and applications folks, Windows and apps, if you have installed on that box, may not handle a crash recovery as well.  So they usually insist on rebuilding from scratch for Windows recoveries.
0
 

Accepted Solution

by:
david_32 earned 0 total points
ID: 22782074
let me rephrase the question.. What is the difference between  rebuilding the master database and reinstalling the instance?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
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…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

971 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