agentleFS
shinzoxDshinzoxD/knackbox/skills/documents/disaster-recovery/SKILL.md

disaster-recovery

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Write and review disaster recovery and backup restore playbooks.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 8

    Distinctive

    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
  1. Distinctive:

    Never skip the restore test.

    line 38
  2. Distinctive:

    Never invent restore times, backup success, or last-test dates.

    line 90
  3. Distinctive:

    Never recommend skipping restore tests.

    line 92
  4. Distinctive:

    Always treat RPO/RTO as requirements and measured restore as evidence.

    line 93
  5. Distinctive:

    Always separate "backup exists" from "we restored a working system".

    line 94
  6. Distinctive:

    Always name who declares DR and who may execute destructive failover.

    line 95
  7. Distinctive:

    Ransomware / integrity: do not assume latest snapshot is clean.

    line 106
  8. Distinctive:

    Keys died with the site: call out escrow; restore without keys fails.

    line 109

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Disaster Recovery

DR playbooks survive region loss, data corruption, ransomware, and operator delete. Not a single-alert procedure (runbook-writing), not live bridge command (incident-command), not availability targets alone (sla-slo-writing).

A backup is a copy. A restore is a working system. Untested is unverified.

Workflow

  1. Scope: systems, data classes, disaster classes (region, corruption, ransomware, vendor, operator delete).
  2. Inventory from evidence: method, location, encryption, retention, immutability, last verified success. Missing proof → UNVERIFIED.
  3. Objectives: declared RPO/RTO and who set them. Ask if unknown; never invent. Separate declared target from last measured restore time.
  4. Decision tree: fail over vs restore in place vs accept data loss. Who may declare DR.
  5. Procedures: verification, restore, failover, failback. One action per step. Mark overwrite / cutover danger.
  6. Dependencies: DNS, IdP, secrets, keys, network, vendors. Cannot decrypt or re-point DNS → failed restore.
  7. Drill: tabletop plus an actual restore. Success criteria and evidence. Never skip the restore test.
  8. Gaps: every unverified claim. First action is often a scoped drill.

Output format

# DR plan: <scope>
**Owner:** …
**Last reviewed:** …
**Last successful restore drill:** <date + evidence> | never
**Declared RPO / RTO:** … (source: …)
**Disaster classes:** …

## Inventory
| System | Data class | Backup | Location | Encryption | Retention | Immutable | Last verified |

## Objectives
| System | RPO | RTO | Who set it | Last measured restore |

## Decision tree
Fail over vs restore in place vs declare loss. Declarer / executor.

## Backup verification
How we prove the copy exists and is not empty/corrupt.

## Restore
1. …

## Failover / failback
1. …

## Ransomware / integrity
Isolate. Preserve forensic copy. Restore from known-good, not "latest".

## Dependencies & access
…

## Communications
Who, channel, customer facts (no invented ETAs).

## Drill plan
Cadence, scope, success criteria, evidence to retain.

## Gaps (unverified)
- …

## Related
runbooks / SLOs / owners

Rules

  1. Never invent restore times, backup success, or last-test dates. Ask or mark UNVERIFIED.
  2. Never recommend skipping restore tests. Paper drills are not a restore.
  3. Always treat RPO/RTO as requirements and measured restore as evidence.
  4. Always separate "backup exists" from "we restored a working system".
  5. Always name who declares DR and who may execute destructive failover.
  6. Mark overwrite, failback, and production cutover danger.
  7. Ransomware: isolate first; latest backup may be dirty; prefer immutable / offline known-good. Do not overwrite good copies.
  8. Single-alert steps → runbook-writing. Live outage → incident-command. Targets-only wording → sla-slo-writing.
  9. Missing evidence still gets a plan — Gaps stays red; no green checkmarks.

Edge cases

  • Never restored: draft only; first action is a scoped restore drill.
  • Ransomware / integrity: do not assume latest snapshot is clean.
  • One AZ / partial region: failover may beat full restore; still need RPO.
  • SaaS with no export: vendor RPO/RTO are claims; require their evidence.
  • Keys died with the site: call out escrow; restore without keys fails.
  • "Are we DR ready?" with no tests: refuse the claim; list what would make it true.
  • Disaster is happening now: hand the bridge to incident-command.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.