Incident response playbook · IR-34

SQL Database Server Outage: Response Playbook

A database server or instance is unavailable and the applications that use it fail. Here is who to call first, what to do in order, and how to close it out.

IT team working through an incident in a server room
One page · one incident
Every step has an owner
13stages from readiness to lessons learned
4calls in order
11numbered response steps

Each playbook in our sample plan fits on one printed page, so it still works when systems are down.

ocsa pa2 c team planning server room
From our sample report
See this playbook as we deliver it

This is the sql database server outage page from the 50-playbook sample we prepared for a fictional distribution company.

Sample · fictional companySample playbook page IR-34 (Kestrel Harbor Distribution, fictional company)
Intelligence Center›Incident Response Playbook Library›Servers, storage and applications›IR-34
Usual severity SEV 2 HighCategory Servers, storage and applicationsCalled first Database administratorPlaybook IR-34
The one-minute answer

What to do when this happens

What it is: A database server or instance is unavailable and the applications that use it fail.

First call: Database administrator, who works with the IT Director acting as Incident Commander.

The move that matters most: Fail over to the secondary replica. Stop application retries that flood the server.

When a database server or instance is unavailable, every application that depends on it fails, often with confusing error messages in front of users. The usual causes are a full disk or transaction log, a stopped service, a failed patch, or a fault in the server, storage or network underneath.

This playbook fails over to a secondary replica where one exists, stops application retries that flood the server, and verifies database consistency before applications return.

What it is

Common causes and early warning signs

Common causes

  • A full data or transaction log disk
  • A stopped database service after a crash or patch
  • A failed update or configuration change
  • A fault in the host, storage or network

Early warning signs

  • Applications show connection or timeout errors to the database
  • Disk space alerts on the database server
  • The database service is stopped or restarting
  • Errors in the database error log after patching
Who to call

Call order and departments involved

The playbook lists who is told, in order, so nobody spends the first half hour deciding whom to call. This is the call order from the sample plan; in your plan the names, alternates and phone numbers are your own.

  1. 1Database administrator
  2. 2Application owner
  3. 3Server lead
  4. 4IT Director

Departments involved

Each department has a defined role during the incident, described on the departments page of the playbook set.

DatabaseServersApplication owner
The 13 stages

Step by step: before, during and after

Every playbook follows the same 13 stages, so the team always knows where it is. The steps below are the sample playbook’s own words.

Before the incident · readiness

Always On availability group or cluster for critical databases. Disk space alerts. Log backups every 15 minutes. Patches tested first.

Owner: IT management
During the incident · steps 1 to 11
  1. STEP 01
    FIRST INFORMATION
    First information

    Record who reported it, when and what they saw. Which instance, which applications, the error shown, and since when.

    Led by: Service Desk, Database team
  2. STEP 02
    DATA COLLECTION
    Data collection

    SQL error log; Windows event logs; disk space on data, log and tempdb drives; cluster or availability group state; recent patches.

    Led by: Database team
  3. STEP 03
    DISCOVERY AND SCOPE
    Discovery and scope

    Decide between a full disk or transaction log, a stopped service, a failed patch, or the server, storage or network underneath.

    Led by: Database team
  4. STEP 04
    PRESERVATION
    Preservation

    Save configuration, logs and error screens before any restart or rollback. Note the time of every action.

    Led by: Database team
  5. STEP 05
    SERVICE STATUS
    Service status

    List each application and interface that depends on the database.

    Led by: Service Desk / NOC
  6. STEP 06
    WORK ON THE INCIDENT
    Work on the incident

    Fail over to the secondary replica. Stop application retries that flood the server.

    Led by: Database team
  7. STEP 07
    ANNOUNCEMENTS
    Announcements

    Inform the CIO within 1 hour. Tell affected sites what is down, the workaround and the next update time.

    Led by: Incident Commander, Communications
  8. STEP 08
    LEGAL PROCEDURE
    Legal procedure

    Check customer contracts and service agreements for outage notice duties. Record downtime for insurance and compliance evidence. Claim vendor service credits.

    Led by: Attorney, Compliance
  9. STEP 09
    FIX
    Fix

    Free or add disk space, restart the service and let recovery finish, or roll back the patch.

    Led by: Database team
  10. STEP 10
    RECOVER AND VERIFY
    Recover and verify

    Run DBCC CHECKDB on affected databases. Confirm applications reconnect and jobs and backups run.

    Led by: Database team, system owners
  11. STEP 11
    RECOVERY NOTICE
    Recovery notice

    Tell the same audience that service is restored, what they must do now, and who to call if a problem remains.

    Led by: Incident Commander, Communications
After the incident · steps 12 and 13
  1. STEP 12
    FINALIZE AND DOCUMENT
    Finalize and document

    Close the incident record with the timeline, evidence list, downtime and cost. Issue the incident report.

    Led by: Incident Commander
  2. STEP 13
    LESSONS LEARNED
    Lessons learned

    Hold a review within 5 business days with every department involved. Add capacity alerts and review failover readiness.

    Led by: All departments

Time targets in the announcement step belong to the fictional sample company. OC Security Audit does not promise response or recovery times; your own targets are agreed during planning.

From our sample report

What this playbook looks like when we deliver it

These are real pages from the incident response sample we prepared for Kestrel Harbor Distribution, a fictional company. Use the arrows or thumbnails, and click a page to zoom in.

Sample report page (Kestrel Harbor Distribution, fictional company): Playbook IR-34: sql database server outage (one page in the sample playbook set)
Playbook IR-34: sql database server outage (one page in the sample playbook set)1 / 3
Sample · Kestrel Harbor Distribution is a fictional company
Mistakes to avoid

What turns this incident into a longer one

  • Deleting log files to free space instead of managing them properly
  • Restarting repeatedly without reading the error log
  • Letting applications flood the server with retries during recovery
  • Skipping consistency checks after the server returns

Most of these are prevented in the readiness stage. A Database Security Audit checks the settings behind them, and an incident response readiness assessment checks whether the people, contacts and decisions are in place.

Frameworks

Where auditors and insurers expect this

A documented and tested playbook for this incident is evidence for several frameworks and for cyber insurance questionnaires.

Framework or ruleWhat it expects
NIST CSF 2.0RS.MA (incident management), RS.CO (incident response reporting and communication), RC.RP (incident recovery plan execution)
NIST SP 800-61 Rev. 3Incident response recommendations mapped to the CSF 2.0 functions
ISO/IEC 27001:2022Annex A 5.24 to 5.27 (incident management), 5.29 (security during disruption), 5.30 (ICT readiness for business continuity)
HIPAA Security Rule45 CFR 164.308(a)(6) security incident procedures and 164.308(a)(7) contingency plan, where the business handles ePHI
SOC 2CC7.4 and CC7.5 (respond and recover), A1.2 and A1.3 (availability: recovery infrastructure and testing)
PCI DSS v4.0.1Requirement 12.10.1, an incident response plan ready to activate, where card data is in scope

General information, not legal advice. Your attorney and auditor confirm what applies to your business.

Get it written for your business

Turn this sample into your own plan

Incident Response Plan & Playbooks

$3,500 fixed

We write your incident response plan and the playbooks for the incidents most likely to hit your business, including sql database server outage, with your contacts, systems, call order and decision authority.

See what is included

Incident Response Tabletop Exercise

$3,500 fixed

We run this scenario with your leadership and IT team in a two-hour session, then give you an after-action report with dated fixes.

Learn more

Already in the middle of an incident? See Incident Response Advisory & Evidence Preservation. Want to know how ready you are first? Start with the readiness assessment. All options are on the incident response and outage resilience page and the pricing page.

Ali Hassani, CISO, CISSP
Written by

Ali Hassani, CISO

Ali Hassani is a Certified CISO (C|CISO) and CISSP with more than 25 years in IT, cybersecurity and infrastructure. He has designed, implemented and secured more than 100 business networks. OC Security Audit is based in Irvine, California, works on-site across Orange County, Los Angeles and Southern California, and remotely nationwide.

FAQ

Questions about this playbook

What is the fastest safe fix?

Fail over to the secondary replica if one exists. Otherwise free space or restore the service following the error log, then run consistency checks.

Why stop application retries?

Thousands of retries can overload a recovering server and slow recovery. The playbook pauses them.

How is this different from database corruption?

Here the database is unavailable but intact. If data is damaged or missing, use the database corruption playbook.

Is this playbook legal advice?

No. The legal step tells the team when to involve the company attorney and the cyber insurance carrier. The attorney decides whether an incident is reportable and confirms every deadline.

Can OC Security Audit write playbooks for our business?

Yes. Incident Response Plan & Playbooks is a $3,500 fixed engagement: we write your plan and the playbooks for the incidents most likely to affect you, with your own contacts, systems and call order.