D
disaster-recovery-testing
About disaster-recovery-testing
A skill for planning and running disaster recovery tests. It helps operations and infrastructure teams validate recovery procedures, measure RTO/RPO, and prepare for incidents using test plans, scripts, and automation guidance.
Key features
- 01DR test planning
- 02Test scripts and automation guidance
- 03RTO/RPO measurement
- 04Procedure validation
- 05Post-test findings and updates
Use cases
- 01Annual disaster recovery exercises
- 02Testing after infrastructure changes
- 03Cross-region failover validation
- 04Training teams for incident response
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ aj-geddes/ useful-ai-prompts --skill disaster-recovery-testingAfter installing, type/disaster-recovery-testingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/dr-test-automation.mddr-test-plan-and-execution.mddr-test-script.mdscripts/validate-config.shtemplates/config-starter.yamlDetails
From the project READMEDisaster Recovery Testing
Table of Contents
Overview
Implement systematic disaster recovery testing to validate recovery procedures, measure RTO/RPO, identify gaps, and ensure team readiness for actual incidents.
When to Use
- Annual DR exercises
- Infrastructure changes
- New service deployments
- Compliance requirements
- Team training
- Recovery procedure validation
- Cross-region failover testing
Quick Start
Minimal working example:
# dr-test-plan.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: dr-test-procedures
namespace: operations
data:
dr-test-plan.md: |
# Disaster Recovery Test Plan
## Test Objectives
- Validate backup restoration procedures
- Verify failover mechanisms
- Test DNS failover
- Validate data integrity post-recovery
- Measure RTO and RPO
- Train incident response team
## Pre-Test Checklist
- [ ] Notify stakeholders
- [ ] Schedule 4-6 hour window
- [ ] Disable alerting to prevent noise
- [ ] Backup production data
- [ ] Ensure DR environment is isolated
- [ ] Have rollback plan ready
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| DR Test Plan and Execution | DR Test Plan and Execution |
| DR Test Script | DR Test Script |
| DR Test Automation | DR Test Automation |
Best Practices
✅ DO
- Schedule regular DR tests
- Document procedures in advance
- Test in isolated environments
- Measure actual RTO/RPO
- Involve all teams
- Automate validation
- Record findings
- Update procedures based on results
❌ DON'T
- Skip DR testing
- Test during business hours
- Test against production
- Ignore test failures
- Neglect post-test analysis
- Forget to re-enable monitoring
- Use stale backup processes
- Test only once a year
Comments
Markdown supported