disaster-recovery-backup-testing
Skill1 starsChanged 55 days agoMITView on GitHub
Use when validating backup, restore, high availability and disaster recovery — RTO/RPO verification, restore drills, region failover, data corruption and ransomware recovery, runbooks, game days, and backup integrity checks for databases and storage.
In this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 42crunch-api-security-testingSkill
- a-b-testingSkill
- acceptance-testingSkill
- accessibility-testingSkill
- ai-agent-evaluationSkill
- ai-code-securitySkill
- ai-ml-testingSkill
- analytics-tracking-testingSkill
- api-testingSkill
- authn-authz-testingSkill
- autonomous-qa-orchestrationSkill
- bdd-gherkin-testingSkill
- blockchain-smart-contract-testingSkill
- bug-reportingSkill
- chaos-resilience-testingSkill
- chatbot-voice-agent-testingSkill
- cicd-testingSkill
- cli-testingSkill
- cloud-infrastructure-testingSkill
- code-coverage-analysisSkill
- compatibility-testingSkill
- compliance-testingSkill
- concurrency-race-condition-testingSkill
- configuration-feature-flag-testingSkill
- contract-testingSkill
- cross-browser-testingSkill
- database-testingSkill
- data-migration-testingSkill
- data-pipeline-etl-testingSkill
- date-time-timezone-testingSkill
- desktop-app-testingSkill
- e2e-testingSkill
- email-notification-testingSkill
- event-driven-messaging-testingSkill
- exploratory-testingSkill
- flaky-test-managementSkill
- functional-testingSkill
- fuzz-testingSkill
- game-testingSkill
- graphql-testingSkill
- iac-container-security-testingSkill
- installation-upgrade-testingSkill
- integration-testingSkill
- iot-embedded-testingSkill
- llm-security-auditSkill
- llm-testingSkill
- localization-testingSkill
- manual-testingSkill
- mcp-testingSkill
- memory-leak-resource-testingSkill
- microservices-testingSkill
- mobile-testingSkill
- mutation-testingSkill
- observability-testingSkill
- payment-ecommerce-testingSkill
- performance-testingSkill
- production-monitoring-synthetic-testingSkill
- property-based-testingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
A backup you have never restored is a hope, not a backup: Test recovery against *stated objectives*.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Disaster Recovery & Backup Testing
A backup you have never restored is a hope, not a backup. Test recovery against stated objectives.
Define the targets first
- RPO (max tolerable data loss, e.g. 5 min) → sets backup/replication frequency.
- RTO (max downtime, e.g. 1 h) → sets automation and runbook needs.
- MTD/priority tiers per service (Tier 0: auth/payments … Tier 3: internal tools).
Test ladder (do all, regularly)
| Level | Exercise | Frequency |
| 1. Backup integrity | Job success, size sanity, checksum, encryption, offsite/immutable copy exists | daily automated |
| 2. Restore test | Restore latest backup to isolated env; row counts/checksums; app boots and passes smoke | weekly/monthly automated |
| 3. Point-in-time recovery | Restore to T-15 min before a deliberate bad DELETE; verify | quarterly |
| 4. Component failover | Kill primary DB/cache/queue; replica promotes; app reconnects; measure RTO/RPO | quarterly |
| 5. Zone/region failover | Traffic shift, data replication lag, DNS TTL, secrets/KMS/IAM in DR region | 1–2× / yr |
| 6. Game day | Unannounced-ish full scenario incl. people, comms, access, runbook | 1–2× / yr |
| 7. Cyber recovery | Ransomware: restore from immutable/air-gapped copies into clean room | yearly |
Restore verification script (sketch)
pg_restore -d restore_test latest.dump
psql restore_test -Atc "select count(*) from orders" # compare with prod snapshot
psql restore_test -Atc "select max(updated_at) from orders" # RPO evidence
./smoke.sh https://restore-test.internal # app-level check# Point-in-time (Postgres WAL)
recovery_target_time = '2026-09-21 14:05:00+00' ; recovery_target_action='promote'
aws rds restore-db-instance-to-point-in-time --source-db-instance-identifier prod --target-db-instance-identifier drill --restore-time 2026-09-21T14:05:00ZWhat to verify beyond data
Secrets/KMS keys available in DR · IAM/roles · DNS/failover TTLs · TLS certs · third-party allowlists (IP changes) · config/flags · queues/streams offsets · search indexes & caches rebuilt · scheduled jobs not double-running · email/SMS callbacks · monitoring & alerting present in DR · on-call access without VPN dependency on the failed region · runbook is accurate, step-by-step, and owned.
Failure scenarios to script
Accidental delete/DROP · corrupt migration · bad deploy (rollback) · AZ/region outage · credential compromise · ransomware · vendor outage (auth, payments, DNS) · expired cert · disk full · clock skew.
Metrics & evidence
Measured RTO/RPO vs target, restore duration trend, backup success %, time to detect, time to decide, gaps found & closed; store evidence for audits (compliance-testing: SOC 2 A1.2, ISO 27001 A.8.13/A.5.30).
Related
chaos-resilience-testing, data-migration-testing, cloud-infrastructure-testing, observability-testing, release-readiness-testing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

