Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

rebuilding master database vs reinstall instance and restore dbs

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

572 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