Disaster Recovery Planner 标志

Disaster Recovery Planner

组织
Navinspire-ia
disaster-recovery-planner

规划、开展并评估灾难恢复(PRA)和业务连续性(PCA)演练,并根据证据验证 RPO 和 RTO 目标。制定业务影响分析(MTPD、RTO、RPO、MBCO),选择恢复策略(备份与恢复、Pilot Light、温备、双活),编写包含注入事件和成功标准的演练计划,根据演练时间戳计算实际达成的 RTO 和 RPO,并将证据对应到 DORA 第 11、12 条及第 24 至 26 条、ISO 22301、NIS2 和 ANSSI 指南。使用 AWS Backup、Elastic Disaster Recovery、Route 53 ARC、Aurora Global Database、Azure Site Recovery、Velero 和数据库 PITR。当用户要求“规划一次 DR 演练”“开展故障切换测试”“检查我们的 RTO 和 RPO”“编写业务影响分析”,或需要证明备份能在目标时间内恢复时使用。法语请求示例:“preparer un exercice PRA”“tester le plan de continuite”“valider nos RTO et RPO”。

Add to TypingMind

概览

发布者Navinspire-ia
代码仓库navin
技能名称disaster-recovery-planner
星标数
37
复刻数
5
附带文件
8
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Navinspire-ia 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Disaster Recovery Planner AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Navinspire-ia/navin/tree/main/navin/skills/disaster-recovery-planner
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Navinspire-ia/navin.git /tmp/navin
mkdir -p .claude/skills
cp -r /tmp/navin/navin/skills/disaster-recovery-planner .claude/skills/disaster-recovery-planner
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Disaster Recovery Planner,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Disaster Recovery Planner。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Disaster Recovery Planner 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Disaster Recovery Planner

Overview

Design, run and assess disaster recovery (PRA, plan de reprise d'activite) and business continuity (PCA, plan de continuite d'activite) exercises, and turn their results into measured RTO and RPO figures, findings with owners, and the evidence pack that DORA, NIS2, ISO 22301 and internal audit ask for. The default posture is read-only and evidence-based: read backup catalogues, replication status, runbooks and incident timelines, compute achieved objectives from recorded timestamps, draft plans and reports. Any action on a target (promoting a replica, triggering a Velero restore, rotating a Route 53 ARC routing control, starting an Elastic Disaster Recovery drill) is written as a proposed command with its rollback and runs only after the user approves it in the exercise window.

When it applies

  • A regulated entity (bank, insurer, payment institution, NIS2 essential or important entity) must show yearly continuity testing with switchover scenarios.
  • A team wants to know whether the stated RTO of 1 hour and RPO of 15 minutes are real, or has never restored a backup.
  • A DR plan or runbook exists on paper and must be exercised: walkthrough, tabletop, simulation, component or full failover, backup restore test, chaos game day.
  • A real incident happened and the after-action review must measure achieved RTO and RPO and feed the plan.
  • A cloud architecture decision depends on the RTO/RPO band: pilot light versus warm standby versus active-active, and the cost of each.
  • A BIA (business impact analysis) must be written or refreshed before an audit.

Out of scope: live incident command during a real outage (sre-incident-responder), backup software operation on its own (backup-rollback, storage-operator), penetration and threat-led testing (penetration-tester).

Engines and sources

Cloud and Kubernetes commands run through the infra tool: level observe for every read below, prepare to render a change plan or dry run, execute only for the approved exercise step. Ticketing, chat and documentation go through the connectors tool (Jira, Confluence, Notion, Slack, GitHub, Gmail) when a connector exists. Install a missing CLI with the toolbelt skill. Credentials come from the environment (AWS_PROFILE, AZURE_SUBSCRIPTION_ID, CLOUDSDK_CORE_PROJECT, KUBECONFIG, PGPASSWORD) and are never printed.

NeedCommand (observe)Exercise step (execute, approval required)
AWS Backup recovery pointsaws backup list-recovery-points-by-backup-vault --backup-vault-name <vault> --by-resource-arn <arn>; aws backup describe-backup-job --backup-job-id <id>aws backup start-restore-job --recovery-point-arn <arn> --metadata file://restore.json --iam-role-arn <role>; aws backup start-restore-job into an isolated account for art. 12(5)
AWS Elastic Disaster Recoveryaws drs describe-source-servers; aws drs describe-replication-configuration-templates; lag in dataReplicationInfo.lagDurationaws drs start-recovery --source-servers sourceServerID=<id> --is-drill (drill flag keeps the source untouched)
Aurora Global Databaseaws rds describe-global-clusters --global-cluster-identifier <id> (GlobalClusterMembers[].IsWriter), CloudWatch AuroraGlobalDBReplicationLag (ms)aws rds switchover-global-cluster --global-cluster-identifier <id> --target-db-cluster-identifier <arn> (planned, zero data loss) or aws rds failover-global-cluster --allow-data-loss (unplanned)
Route 53 failover and ARCaws route53 get-health-check-status --health-check-id <id>; aws route53-recovery-cluster get-routing-control-state --routing-control-arn <arn> --region <cluster-region>; aws route53-recovery-readiness get-readiness-check-status --readiness-check-name <name>aws route53-recovery-cluster update-routing-control-states --update-routing-control-state-entries '[{"RoutingControlArn":"<primary>","RoutingControlState":"Off"},{"RoutingControlArn":"<secondary>","RoutingControlState":"On"}]' (call one of the five cluster endpoints)
Azure Site Recovery and Backupaz backup job list --resource-group <rg> --vault-name <vault> --output table; az backup recoverypoint list --resource-group <rg> --vault-name <vault> --container-name <c> --item-name <i>; ASR replication health in az resource show on replicationProtectedItems or the portal RPO columnaz backup restore restore-disks ...; ASR test failover from recovery plan (Start-AzRecoveryServicesAsrTestFailoverJob in PowerShell, portal otherwise)
GCP Backup and DRgcloud backup-dr backup-vaults list; gcloud backup-dr backups list --backup-vault <vault> --data-source <ds> --location <loc>; gcloud sql backups list --instance <inst>gcloud backup-dr backups restore ...; gcloud sql backups restore <id> --restore-instance <clone> into a clone, never the source
Kubernetes (Velero)velero backup get; velero backup describe <name> --details; velero schedule get; velero backup-location getvelero restore create --from-backup <name> --namespace-mappings prod:dr-test --wait; velero restore describe <name> for the warnings count
etcdkubectl -n kube-system exec etcd-<node> -- etcdctl endpoint status --write-out=table; etcdutl snapshot status snapshot.db --write-out=tableetcdutl snapshot restore snapshot.db --data-dir /var/lib/etcd-restore on a rebuilt control plane
PostgreSQLstandby lag: SELECT now() - pg_last_xact_replay_timestamp() AS replay_lag; on the replica; SELECT client_addr, write_lag, flush_lag, replay_lag FROM pg_stat_replication; on the primary; PITR coverage: aws rds describe-db-instances --query 'DBInstances[].LatestRestorableTime'aws rds restore-db-instance-to-point-in-time --restore-time <ts> --target-db-instance-identifier <clone>; pg_basebackup plus recovery_target_time on self-managed
MySQLSHOW REPLICA STATUS\G (Seconds_Behind_Source, Replica_SQL_Running)`mysqlbinlog --start-datetime ...
Timeline sourcesPagerDuty, Opsgenie or Slack incident channel exports, CloudTrail (aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=FailoverGlobalCluster), Jira ticket history via connectors-

Large exports (CloudTrail, Velero describe with details, backup job lists) are written to files and searched with the grep tool before any part is read.

Workflow

  1. Frame the request. Determine whether the need is a BIA, an exercise, a post-incident measurement, or an evidence pack for a regulation. Identify the regulatory drivers (DORA article 11(6) yearly test with switchover, art. 25 scenario-based tests on critical functions, NIS2 art. 21(2)(c), ISO 22301 8.5) from references/dora-iso-mapping.md; they set the minimum exercise type and cadence.
  2. Build or read the BIA. Fill references/bia-template.md: processes with owner, tier, MTPD, RTO, RPO, MBCO, peak periods, manual workaround; then systems inheriting the strictest objectives, with strategy, secondary site, dependencies, last exercise and achieved figures. Challenge any RTO equal to its MTPD (no detection and decision margin) and any RPO under one minute served by a backup strategy.
  3. Inventory the real capability. Through infra observe, read the backup catalogue (last successful recovery point per system, retention, cross-region or offline copy, immutability), replication status and lag, DNS failover configuration, the secondary site capacity, and the runbooks. Record the current recovery point age per system: it is the RPO achievable today, before any exercise.
  4. Choose the exercise type with references/exercise-types.md: walkthrough or tabletop when the plan was never exercised; backup restore test when backups were never restored; component failover for a measured RTO on one system; full failover when a regulation requires switchover of a critical function. Climb the realism ladder one step per exercise.
  5. Write the exercise plan. Prepare the scenario JSON (name, type, scope, objectives, systems with targets and owners, injects with offsets, roles, communication, drivers) and run python3 scripts/exercise_plan.py scenario.json --out plan.md. The output carries the inject timeline with clock times, the roles table, the success criteria derived from each system's RTO and RPO, abort and rollback criteria, the communication plan and the evidence checklist. Have the exercise director, the incident commander and the business owner sign it.
  6. Prepare the write steps. For every inject that changes a target, produce the exact command (table above), its precondition check, its rollback command, and the observer's timestamp to record. Run infra prepare where a dry run exists (velero restore create ... --dry-run, aws drs start-recovery --is-drill, ASR test failover). Confirm the restore target is isolated from the source (separate account, subscription or namespace; DORA art. 12(5)).
  7. Run the exercise. The observer logs UTC timestamps: incident_declared, failover_decided, restore_started, service_restored, service_validated, plus the last consistent recovery point (backup completion time or replica lag read just before the switch). Each write step executes through infra execute only after the user confirms the inject in the window. Stop on any abort criterion.
  8. Measure. Put the timestamps in a drill log JSON and run python3 scripts/rpo_rto_check.py drill.json (exit 1 on any breach). Read the phase breakdown: decision latency and validation time are the usual budget consumers, not the restore itself.
  9. Write the after-action report from references/after-action-report.md: objectives met, RTO/RPO table, timeline, findings with severity, root cause, owner and due date, plan and BIA updates, next exercise. Create one ticket per finding through connectors when Jira or GitHub is connected.
  10. Assemble the evidence pack for the regulation rows that apply: signed plan, log, script outputs, screenshots or command outputs, communication drafts, the report, and the management acknowledgement. Deliver the Markdown report below; use studio-html-report when the user wants an HTML report.

Rules

  • RTO starts at incident declaration (or detection when the organisation defines it so), not at the start of the restore; RTO ends at business validation, not when the process is up. Both conventions are written in the BIA and used consistently.
  • RPO is measured from the last consistent recovery point to the moment of the disruption: backup completion time, or replica lag read before the switch. A backup that is "daily at 02:00" gives an RPO of up to 24 hours, whatever the policy document says.
  • Aurora switchover-global-cluster is a planned, zero-RPO operation and proves the runbook, not the RPO under failure; the unplanned failover-global-cluster --allow-data-loss is the one that measures real data loss.
  • aws drs start-recovery --is-drill and ASR test failover do not touch the source servers; they prove RTO, not fail-back. Fail-back is a separate step to plan and time.
  • A Velero restore completes with status Completed even with warnings; read velero restore describe warnings and errors counts, and validate the application, not the object count.
  • Restore into the production account or the source cluster is not a test: DORA art. 12(5) requires a segregated target; it also avoids overwriting the data you are trying to protect.
  • Route 53 ARC routing control updates must be sent to the cluster endpoints in their own regions and work when the control plane region is down; the regular route53 API is not the failover path.
  • A tabletop alone does not satisfy DORA art. 11(6): the text requires switchover between primary and redundant infrastructure to be tested. Say so when the only evidence is a tabletop.
  • Exercise communications carry the prefix EXERCISE; regulator notifications (DORA art. 19, NIS2 art. 23) are completed as drafts and never sent during an exercise.
  • The observer takes no action; the exercise director may stop but not help. Assistance given is recorded as a deviation and usually as a finding.
  • Breached targets are reported as breaches with the margin, never rounded into a pass; the fix is a change in the plan, the architecture or the BIA, decided by the owner in the after-action report.
  • Keep timestamps in UTC with the source (log line, ticket event) next to them; two clocks that disagree are a finding.

Deliverable

A Markdown report (HTML with studio-html-report on request) with these sections:

Summary: exercise type, date, scope, overall result (PASS, PASS WITH FINDINGS, FAIL), regulatory drivers covered.

BIA extract (from references/bia-template.md):

SystemTierMTPDRTO targetRPO targetMBCOStrategySecondary siteOwner

Current capability (observe step):

SystemLast recovery point (UTC)Age at checkReplica lagCopy locationImmutable or offline copyRunbook version

Achieved RTO / RPO (from scripts/rpo_rto_check.py):

SystemTierRTO targetRTO achievedRTO marginRPO targetRPO achievedRPO sourceResult

Phase breakdown:

SystemDecisionPreparationRestoreValidation

Findings:

IDSeverityFindingRoot causeCorrective actionOwnerDue dateRegulation or clause

Regulatory evidence map (from references/dora-iso-mapping.md):

RequirementArticle or clauseEvidence itemStatus

Proposed exercise steps (write operations, none executed without approval):

InjectCommandPreconditionRollbackTimestamp to record

Evidence files kept in the workspace: plan.md, drill.json, the Markdown and JSON outputs of rpo_rto_check.py, exported logs and screenshots, communication drafts, after-action-report.md.

Resources

  • scripts/rpo_rto_check.py - achieved RTO and RPO per system from a drill log JSON, pass or fail with margin, phase breakdown, --json, --warn-margin-pct; exit 1 on any breach. Test run: python3 scripts/rpo_rto_check.py examples/drill-log-regional-failover.json (exits 1: the reporting warehouse breaches both targets).
  • scripts/exercise_plan.py - complete Markdown exercise plan from a scenario JSON: header, objectives, systems, roles, inject timeline with clock times, timestamps to record, success criteria, abort criteria, communication plan, evidence checklist; --out, --json. Test run: python3 scripts/exercise_plan.py examples/scenario-regional-failover.json --out plan.md.
  • examples/drill-log-regional-failover.json - drill log of a regional failover with three systems (Aurora global database, EKS warm standby, backup-and-restore warehouse); shows both RPO sources.
  • examples/scenario-regional-failover.json - full failover scenario with nine injects, roles and regulatory drivers; copy it as the starting point for a new plan.
  • references/exercise-types.md - type matrix (impact, duration, attendees, cadence, what it proves), choice rules, realism ladder, mandatory scenarios, measurement sources, common findings. Open it at step 4.
  • references/bia-template.md - vocabulary (MTPD, RTO, RPO, MBCO, WRT), strategy bands with typical RTO/RPO and cloud building blocks, process and system tables, dependency questions, sign-off. Open it at step 2.
  • references/dora-iso-mapping.md - DORA art. 5, 11, 12, 14, 17 to 19, 24 to 30 and RTS 2024/1774, NIS2 art. 21 and 23, ISO 22301 clauses 8 to 10, ISO/IEC 27031, ANSSI and EBA guides, with the evidence to produce for each. Open it at steps 1 and 10.
  • references/after-action-report.md - report template with findings severity scale, timeline, business impact, plan updates, evidence index and distribution rules. Open it at step 9.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Disaster Recovery Planner AI 技能有什么作用?

规划、开展并评估灾难恢复(PRA)和业务连续性(PCA)演练,并根据证据验证 RPO 和 RTO 目标。制定业务影响分析(MTPD、RTO、RPO、MBCO),选择恢复策略(备份与恢复、Pilot Light、温备、双活),编写包含注入事件和成功标准的演练计划,根据演练时间戳计算实际达成的 RTO 和 RPO,并将证据对应到 DORA 第 11、12 条及第 24 至 26 条、ISO 22301、NIS2 和 ANSSI 指南。使用 AWS Backup、Elastic Disaster Recovery、Route 53 ARC、Aurora Global Database、Azure Site Recovery、Velero 和数据库 PITR。当用户要求“规划一次 DR 演练”“开展故障切换测试”“检查我们的 RTO 和 RPO”“编写业务影响分析”,或需要证明备份能在目标时间内恢复时使用。法语请求示例:“preparer un exercice PRA”“tester le plan de continuite”“valider nos RTO et RPO”。

为什么在 TypingMind 中使用 Disaster Recovery Planner?

因为您只需安装一次,就能搭配任何模型使用。Disaster Recovery Planner 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Disaster Recovery Planner?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Navinspire-ia/navin/tree/main/navin/skills/disaster-recovery-planner。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Disaster Recovery Planner?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Disaster Recovery Planner 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Disaster Recovery Planner 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Disaster Recovery Planner AI 技能免费吗?

是的。Navinspire-ia 已在 GitHub 上根据 AGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇