?
Solved

rebuilding master database vs reinstall instance and restore dbs

Posted on 2008-10-21
4
Medium Priority
?
825 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
[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
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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.

718 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