Логотип Disaster Recovery Planner

Disaster Recovery Planner

Организация
Navinspire-ia
disaster-recovery-planner

Планируйте, проводите и оценивайте учения по аварийному восстановлению (PRA) и обеспечению непрерывности бизнеса (PCA), а также подтверждайте достижение целевых значений RPO и RTO по фактическим данным. Навык готовит анализ влияния на бизнес (MTPD, RTO, RPO, MBCO), выбирает стратегию восстановления (резервное копирование и восстановление, pilot light, warm standby, active-active), составляет план учений с вводными и критериями успеха, рассчитывает фактические RTO и RPO по временным меткам учений и сопоставляет подтверждающие данные с требованиями ст. 11, 12 и 24–26 DORA, ISO 22301, NIS2 и руководствами ANSSI. Используются AWS Backup, Elastic Disaster Recovery, Route 53 ARC, Aurora Global Database, Azure Site Recovery, Velero и восстановление баз данных на момент времени (PITR). Используйте навык, если пользователь просит «спланировать учения по аварийному восстановлению», «провести тест переключения на резервную систему», «проверить наши 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 по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 8

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — Navinspire-ia. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Disaster Recovery Planner в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Navinspire-ia/navin/tree/main/navin/skills/disaster-recovery-planner
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
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

Включите навык Disaster Recovery Planner в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Disaster Recovery Planner, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Disaster Recovery Planner не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл 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?

Планируйте, проводите и оценивайте учения по аварийному восстановлению (PRA) и обеспечению непрерывности бизнеса (PCA), а также подтверждайте достижение целевых значений RPO и RTO по фактическим данным. Навык готовит анализ влияния на бизнес (MTPD, RTO, RPO, MBCO), выбирает стратегию восстановления (резервное копирование и восстановление, pilot light, warm standby, active-active), составляет план учений с вводными и критериями успеха, рассчитывает фактические RTO и RPO по временным меткам учений и сопоставляет подтверждающие данные с требованиями ст. 11, 12 и 24–26 DORA, ISO 22301, NIS2 и р...

Зачем использовать Disaster Recovery Planner в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Disaster Recovery Planner — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Disaster Recovery Planner в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Navinspire-ia/navin/tree/main/navin/skills/disaster-recovery-planner. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Disaster Recovery Planner?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Disaster Recovery Planner?

С любым количеством. В TypingMind вы можете использовать Disaster Recovery Planner с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Disaster Recovery Planner?

Да. Навык опубликован на GitHub по лицензии AGPL-3.0. Издатель — Navinspire-ia. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇