Solved

rebuilding master database vs reinstall instance and restore dbs

Posted on 2008-10-21
4
799 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 69

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 69

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
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 information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

822 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