Solved

recovering a sql server

Posted on 2011-09-13
4
324 Views
Last Modified: 2012-05-12
Running multiple sql server 2005 instances on windows 2008.

Our Server guys changed the way that they back up the server (at the server level) and excluded all .ldf and .mdf files.

Needless to say when we recently went through a disaster recovery drill I had to uninstall and reinstall sql server (all intstances) before I could begin restoring databases.

I am wondering if I had made copies of the master, resource, msdb and model .mdf and .ldf files for each instance and then copied them into their correct directories for the DR drill if i could have avoided having to reinstall SQL Server? I don't have a server to test this on which is why I am asking....

How do others backup their servers hosting sql server?

0
Comment
Question by:itsonlyme4
[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
4 Comments
 
LVL 15

Expert Comment

by:Anuj
ID: 36528421
I used to have.

Daily full backups of all System Database (Exclud tempdb).
Full backup of User database on Week end(After index Defragment).
Daily Diff backups of user database
Every 1 hr log backup(depends on the transactions).

0
 
LVL 15

Expert Comment

by:Anuj
ID: 36528424
So in the event of disaster, i can restore my backups from Full + Diff + My log backups.
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 36528454
<<I am wondering if I had made copies of the master, resource, msdb and model .mdf and .ldf files for each instance and then copied them into their correct directories for the DR drill if i could have avoided having to reinstall SQL Server?>>
Including system databases's restoration as a part of your system recovery strategy may reduce significantly your system restore time since you don't have to restore the logins, job information and additional system information that can not be restored through user database restoration.  

Your system recovery process must also take into account the fact that the environment is clustered or not and network connectivity issues. Connectivity wise, I suggest you use an alias layer to be able to redirect all of your applications quickly to any instance no matter how it could be renamed.  In a clustered environment make sure to document well all system cluster considerations: DTC creation, ressource creation, account service authentication issues.

Hope this helps...
0
 
LVL 6

Accepted Solution

by:
dax_bad earned 250 total points
ID: 36528577
As Racimo said, its a good idea to do a manual "copy" backup of the system databases per instance for DR scenarios, but just remember that any changes done on SQL server level (ie. memory and data/log file settings etc) are reflected in your master and msdb system databases, so if changes are done to these after jyou do a copy of these, you will be missing these changes. So i suggest you write a small script to copy these files to a network location (SQL server services must be stopped in order to do so), and then schedule it to run on a regular basis depending on how often you actually do changes on your sql server instances.

Cheers
Daniel
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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…
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
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

688 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