Missed Recovery Techniques for SQL Server By Rudy Panigas

Similar documents
Database Maintenance Guide

Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills Course 6317A: Three days; Instructor-Led

Computer Visions Course Outline

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

SQL Server 2008 Administration

SQL Server Training Course Content

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

Implementing a Microsoft SQL Server 2005 Database

Course Outline: Course 6317: Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills

MIRRORING: START TO FINISH. Ryan Adams Blog - Twitter

Database Administrator Certificate Capstone Project Evaluation Checklist

MS SQL Server 2014 New Features and Database Administration

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

Hyper-V backup implementation guide

Maintaining a Microsoft SQL Server 2008 Database

IDERA WHITEPAPER. The paper will cover the following ten areas: Monitoring Management. WRITTEN BY Greg Robidoux

High Availability for Microsoft SQL Server 7.0 Using Double-Take

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

One Solution for Real-Time Data protection, Disaster Recovery & Migration

Microsoft SQL Database Administrator Certification

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

How To Make Biztalk Highly Available

Course 2788A: Designing High Availability Database Solutions Using Microsoft SQL Server 2005

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

Database as a Service (DaaS) Version 1.02

SQL Server for Database Administrators Course Syllabus

SQL Server Solutions GETTING STARTED WITH. SQL Safe Backup

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

High Availability for VMware GSX Server

Exhibit B5b South Dakota. Vendor Questions COTS Software Set

Administering Microsoft SQL Server 2012 Databases

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

Website Disaster Recovery

This article Includes:

Contingency Planning and Disaster Recovery

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: Run Time: 47+ hours (272 videos)

Course Syllabus. At Course Completion

50238: Introduction to SQL Server 2008 Administration

Backup and Restore with 3 rd Party Applications

VMware vsphere Data Protection 6.1

BackupAssist Common Usage Scenarios

Extending Your Availability Group for Disaster Recovery

Solution Brief Availability and Recovery Options: Microsoft Exchange Solutions on VMware

Installing and configuring Microsoft Reporting Services

SQL Server Mirroring. Introduction. Setting up the databases for Mirroring

Version: Page 1 of 5

AVLOR SERVER CLOUD RECOVERY

Working with SQL Server Agent Jobs

Hosting Blackbaud Software in the Cloud

SafeCom G2 Enterprise Disaster Recovery Manual

Backup and Restore Back to Basics with SQL LiteSpeed

Hosted Acronis Backup Cloud. Keep your data safe with our cloud backup service, powered by Acronis

Restoring Microsoft SQL Server 7 Master Databases

5054A: Designing a High Availability Messaging Solution Using Microsoft Exchange Server 2007

Protecting SQL Server Databases Software Pursuits, Inc.

Part Two: Technology overview

Administering the Web Server (IIS) Role of Windows Server

SmartFiler Backup Appliance User Guide 2.0

Upgrading Your Skills to MCSA Windows Server 2012

How To Backup An Exchange Server With 25Gb And More On A Microsoft Smartfiler With A Backup From A Backup To A Backup Point Set On A Flash Drive On A Pc Or Macbook Or Ipad On A Cheap Computer (For A

SQL Server AlwaysOn. Michal Tinthofer 11. Praha What to avoid and how to optimize, deploy and operate.

Backup Exec Private Cloud Services. Planning and Deployment Guide

Technical Considerations in a Windows Server Environment

How to Configure Double-Take on Microsoft Exchange Server

Symantec NetBackup Getting Started Guide. Release 7.1

Disaster Recovery System Administration Guide for Cisco Unified Contact Center Express Release 8.5(1)

TD Data Management Server 2010 Backup

IM and Presence Disaster Recovery System

Perforce Backup Strategy & Disaster Recovery at National Instruments

Back From the Dead: How to Restore a SQL Server in 60 Minutes or Less*

6231A - Maintaining a Microsoft SQL Server 2008 Database

John D. Bonam Disaster Recovery Architecture Session # 2841

1. Management Application (or Console), including Deferred Processor & Encryption Key 2. Database 3. Website

How to Backup and Restore a VM using Veeam

Library Recovery Center

Stellar Phoenix Exchange Server Backup

About database backups

BackupAssist v5 vs. v6

EMC Integrated Infrastructure for VMware

Implementing Microsoft Azure Infrastructure Solutions

High Availability Essentials

whitepaper ZERO TO HERO 12 ESSENTIAL TIPS FOR THE ACCIDENTAL DBA

@ptitude Observer Database Adminstrator. User Manual. Part No Revision E Observer 9.1

Integrating Data Protection Manager with StorTrends itx

Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Express

Enterprise IT is complex. Today, IT infrastructure spans the physical, the virtual and applications, and crosses public, private and hybrid clouds.

המרכז ללימודי חוץ המכללה האקדמית ספיר. ד.נ חוף אשקלון טל' פקס בשיתוף עם מכללת הנגב ע"ש ספיר

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012

Transcription:

Missed Recovery Techniques for SQL Server By Rudy Panigas

My Bio: *Working in the IT Industry for over 25 years *Over 12 years as a Database Administrator with experience including architecting, design, implementation, monitoring, automation and specializing in disaster recovery *Worked in a variety of industries including telecom, retail and financial *Guest author at SQL Server Central http://www.sqlservercentral.com/ *My blog: http://sqlsurgeon.blogspot.ca *Member of Toronto PASS - TORPASS

*Do you know the Secret? *Have you really documented everything? *Restored lately? *Recovery Tips

What is a disaster? *City down *Site(s) down *Server(s) down *Power down *A/C down *Anything that affects the company What can we do? *Have offices in another city *Actually have a disaster recovery site *Redundant servers *UPS and other power management options *Good contracts with vendors including building management *Have everything you need off site for recovery

*SQL Server Clustering *Database Mirroring *Log Shipping *Always On (SQL Server 2012) *3 rd Party replication software *Automated backup and restore to recovery site *SAN replication *And whatever you can dream up

HA/DR = HAmyDR

HA/DR = HAmyDR High Availability/Disaster Recovery = How Are my Documentation availability and Restore capabilities

Create documentation as if you are going to do a complete bare metal build.

*Physical /Virtual server information *Storage/Hard drive information *SQL Server versions and patch levels *IP Address, Port numbers, link connections *SP_CONFIGURE *Jobs information *Replication options used *User list, Reporting, FTP etc.

Document everything!!

Get all your ducks in a row! Ensure you have everything you need to restore servers, databases, user accounts, encryption keys, etc.

*Domain Controller / Active Directory *Tape backup systems *SQL Server backups to restore *Server builds Physical and Virtual *Encryption keys (SSRS) *Rebuilt MASTER database *Recovery of system databases *Restore user databases *Restore additional functions

Restore everything!

*Create batch files / PowerShell commands to start and stop SQL Server services

*Create batch files / PowerShell commands to start and stop SQL Server services *Take a copy of the DATA folder before restoring system databases

*Create batch files / PowerShell commands to start and stop SQL Server services *Take a copy of the DATA folder before restoring system databases *Automate everything you can!

*Create batch files / PowerShell commands to start and stop SQL Server services *Take a copy of the DATA folder before restoring system databases *Automate everything you can! *Bring a bag with water, food, change of clothes, portable radio and anything you won t have at your DR site

HA/DR = HAmyDR Document Everything Recover Everything Recovery tips - Automate anything and bring what s missing DO NOT PANIC!! Be Calm!

PLUGGED! Remember the Secret, test, test and test again!

Thank you for you time Question / Comments Visit my blog: http://sqlsurgeon.blogspot.ca Search for SQL Server Document Generator for Disaster Recovery

1) Physical Server Information - Number of CPUs, memory, IP Address, etc. 2) Hard drive space available - in Megabytes 3) SQL Server Information - Server name, version of SQL server, Patch level 4) SQL Server Port Number Used 5) SQL Server Settings - SP_CONFIGURE 6) Database and Log file Physical Locations 7) Database Details - All database information 8) List of SQL Jobs - What jobs execute 9) Last Backup Dates - What and when the last backups was completed 10) Failed SQL Jobs - Jobs that have failed before 11) Disabled Jobs - Jobs there but not set to execute 12) SQL Server Services Status - What services were installed and running 13) Link Server Details - What other servers is SQL Server linked to 14) Database Mail Details - See if it is installed and running

15) Database Mirroring Details - Databases mirrored status 16) Database Log Shipping Details 17) Cluster Details - Information on cluster configuration 18) Always On Replication Details. SQL 2012 and newer This section below will produce T-SQL scripts as an output. You can execute them to automate the rebuild A) SP_CONFIGURE Script to Reapply Values B) User Database Restore Script C) User Login Restore T-SQL Script D) Link Server Rebuild Script