Database Corruption or Data Loss: Response Playbook
A database is corrupt, or data was deleted or overwritten by a script, an application fault or failed storage. Here is who to call first, what to do in order, and how to close it out.

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

This is the database corruption or data loss page from the 50-playbook sample we prepared for a fictional distribution company.

What to do when this happens
What it is: A database is corrupt, or data was deleted or overwritten by a script, an application fault or failed storage.
First call: Database administrator, who works with the IT Director acting as Incident Commander.
The move that matters most: Take the application offline or restrict the database to read access to stop further damage.
When a database is corrupt, or data has been deleted or overwritten by a script, an application fault or failing storage, the most important fact is when the damage started. That time decides the restore point and how much work must be redone.
This playbook stops further damage by taking the application offline or making the database read-only, identifies the cause, restores to the right point, and checks whether the loss is a reportable event.
Common causes and early warning signs
Common causes
- A failing disk or storage controller
- Human error: a script or query run against the wrong database
- An application bug that overwrote records
- Deliberate damage by an insider or attacker
Early warning signs
- Consistency check errors or I/O errors in the database log
- Users report missing or wrong records
- A script or job ran shortly before the problem appeared
- Reports suddenly show totals that do not match
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.
- 1Database administrator
- 2Application owner
- 3IT Director (Incident Commander)
- 4Backup lead
- 5CIO
Departments involved
Each department has a defined role during the incident, described on the departments page of the playbook set.
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.
Full, differential and log backups with tested point-in-time restore. Change scripts reviewed and run in test first.
Owner: IT management- STEP 01
FIRST INFORMATIONFirst informationRecord who reported it, when and what they saw. Which database and tables, when the damage started, and what ran at that time.
Led by: Service Desk, Database team - STEP 02
DATA COLLECTIONData collectionSQL error log; DBCC CHECKDB output; backup history; change and job history; storage error logs.
Led by: Database team - STEP 03
DISCOVERY AND SCOPEDiscovery and scopeFix the exact time the damage started; it sets the restore point. Decide between storage fault, human error, application bug or deliberate action.
Led by: Database team - STEP 04
PRESERVATIONPreservationTake a tail-log backup of the damaged database as it is before any repair. Stop retention jobs from deleting older backups.
Led by: Database team - STEP 05
SERVICE STATUSService statusList the applications and reports that use the data and whether they must stop.
Led by: Service Desk / NOC - STEP 06
WORK ON THE INCIDENTWork on the incidentTake the application offline or restrict the database to read access to stop further damage.
Led by: Database team - STEP 07
ANNOUNCEMENTSAnnouncementsInform the business owner and executives within 30 minutes and open an emergency meeting. Tell all staff what is down, the workaround and the next update time, through a channel that still works.
Led by: Incident Commander, Communications - STEP 08
LEGAL PROCEDURELegal procedureCall the company attorney before any outside statement. The attorney decides whether this is a reportable breach and sets each deadline. Notify the cyber insurance carrier before hiring vendors.
Led by: Attorney, Compliance - STEP 09
FIXFixRestore to a point just before the damage on a separate server and compare. Choose with the owner: full point-in-time restore or copying only the lost data back.
Led by: Database team - STEP 10
RECOVER AND VERIFYRecover and verifyThe application owner verifies the data and signs off. Identify transactions to re-enter.
Led by: Database team, system owners - STEP 11
RECOVERY NOTICERecovery noticeTell 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
- STEP 12
FINALIZE AND DOCUMENTFinalize and documentClose the incident record with the timeline, evidence list, downtime and cost. Issue the incident report.
Led by: Incident Commander - STEP 13
LESSONS LEARNEDLessons learnedHold a review within 5 business days with every department involved. Executives accept the amount of data lost; add safeguards against the cause.
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.
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.

What turns this incident into a longer one
- Keeping the application running and letting damage spread
- Restoring the latest backup without checking it predates the damage
- Overwriting the damaged database before saving a copy
- Skipping the legal step when personal data may be lost
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.
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 rule | What it expects |
|---|---|
| NIST CSF 2.0 | RS.MA (incident management), RS.CO (incident response reporting and communication), RC.RP (incident recovery plan execution) |
| NIST SP 800-61 Rev. 3 | Incident response recommendations mapped to the CSF 2.0 functions |
| ISO/IEC 27001:2022 | Annex A 5.24 to 5.27 (incident management), 5.29 (security during disruption), 5.30 (ICT readiness for business continuity) |
| HIPAA Security Rule | 45 CFR 164.308(a)(6) security incident procedures and 164.308(a)(7) contingency plan, where the business handles ePHI |
| SOC 2 | CC7.4 and CC7.5 (respond and recover), A1.2 and A1.3 (availability: recovery infrastructure and testing) |
| PCI DSS v4.0.1 | Requirement 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.
Turn this sample into your own plan
Incident Response Plan & Playbooks
We write your incident response plan and the playbooks for the incidents most likely to hit your business, including database corruption or data loss, with your contacts, systems, call order and decision authority.
See what is includedIncident Response Tabletop Exercise
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 moreAlready 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
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.
Questions about this playbook
Why does the exact time matter?
It sets the restore point. Restoring a backup taken after the damage brings the damage back; restoring too early loses good work.
Is data loss a reportable breach?
It can be if personal or regulated data was destroyed or exposed. The attorney decides and sets any deadline.
Should we keep the damaged database?
Yes. Save a copy before any repair or restore. It is evidence and may hold data not in the backup.
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.
More from the playbook library
Sources: NIST SP 800-61 Rev. 3, Incident Response Recommendations; NIST Cybersecurity Framework 2.0. Playbook steps are from OC Security Audit’s sample incident response playbooks for a fictional company. Every name and figure in the sample is invented.