IT 灾难恢复计划生成器:自动化 DR 策略 - Openclaw Skills

作者:互联网

2026-03-30

AI教程

什么是 IT 灾难恢复计划生成器?

IT 灾难恢复计划生成器是一个专门设计的技能,旨在弥合技术基础设施与业务连续性要求之间的差距。它利用 Openclaw Skills 生成详细的文档,以应对从区域云故障到数据库损坏和勒索软件攻击等关键故障场景。

该技能通过提供可操作的操作手册、风险评估矩阵和成本建模的恢复策略,确保团队能够应对高压事件。通过将 SOC 2 和 HIPAA 等合规框架直接集成到输出中,它在保持对技术可行性和预算限制关注的同时,简化了审计流程。

下载入口:https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-disaster-recovery

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install afrexai-disaster-recovery

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 afrexai-disaster-recovery。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

IT 灾难恢复计划生成器 应用场景

  • 开发满足 SOC 2、ISO 27001 或 HIPAA 等合规标准的 DR 文档。
  • 修复在真实系统中断后发现的恢复流程漏洞。
  • 通过清晰、逐步的故障转移操作手册,引导新入职的基础设施工程师。
  • 进行年度 DR 计划审查并更新云资源的成本模型。
IT 灾难恢复计划生成器 工作原理
  1. 用户提供技术规范,包括云提供商、区域、数据存储和恢复目标(RTO/RPO)。
  2. Openclaw Skills 代理分析技术栈,生成优先排序的风险评估矩阵和恢复层级分类。
  3. 根据 3-2-1 备份原则和区域可用性,计算详细的故障转移程序和备份策略。
  4. 起草全面的通信计划和测试时间表,以确保团队在事件发生期间做好准备。
  5. 输出最终计划,包含具体的 CLI 命令、以美元为单位的成本估算以及合规性映射。

IT 灾难恢复计划生成器 配置指南

要使用此技能,请确保您的代理已配置为访问您的基础设施规范。按照快速开始模式提供详细提示:

# 代理的示例提示
"为我们的 SaaS 平台生成灾难恢复计划。技术栈:AWS(us-east-1 为主,eu-west-1 为备)、PostgreSQL RDS、Redis、S3。RTO 目标:4 小时。RPO 目标:1 小时。团队规模:8 名工程师。"

IT 灾难恢复计划生成器 数据架构与分类体系

该技能将数据组织成专注于恢复生命周期管理的结构化格式:

章节 内容
风险矩阵 主要威胁的可能性、影响和缓解策略。
恢复层级 根据关键性对服务进行分类(第 1-3 层)。
备份策略 所有数据存储的频率、保留和位置映射。
成本模型 基础设施、工具和测试方面的支出明细。
合规映射 控制措施与 SOC 2、ISO 27001、HIPAA 和 PCI DSS 的映射。

IT Disaster Recovery Plan Generator

Build production-ready disaster recovery plans that actually get followed when things break.

What This Does

Generates a complete DR plan covering infrastructure, data, applications, and communications. Output includes RTO/RPO targets, failover procedures, testing schedules, and cost modeling.

When to Use

  • Building DR documentation for compliance (SOC 2, ISO 27001, HIPAA)
  • After an outage exposed gaps in your recovery process
  • Onboarding a new infrastructure team
  • Annual DR plan review and update

How to Use

Tell the agent what you need. Be specific about your stack and requirements.

Quick Start

Generate a disaster recovery plan for our SaaS platform. Stack: AWS (us-east-1 primary, eu-west-1 secondary), PostgreSQL RDS, Redis, S3. RTO target: 4 hours. RPO target: 1 hour. Team size: 8 engineers.

Inputs to Provide

  • Infrastructure: Cloud provider, regions, key services
  • Data stores: Databases, object storage, message queues
  • RTO target: Maximum acceptable downtime
  • RPO target: Maximum acceptable data loss
  • Team size: Who's available during an incident
  • Compliance: Which frameworks apply (SOC 2, ISO 27001, HIPAA, PCI DSS)
  • Budget tier: Startup ($5K-$15K/yr) | Growth ($15K-$50K/yr) | Enterprise ($50K+/yr)

Output Structure

1. Risk Assessment Matrix

Threat Likelihood (1-5) Impact (1-5) Risk Score Mitigation
Region outage 2 5 10 Multi-region active-active
Database corruption 3 5 15 Point-in-time recovery + cross-region replicas
Ransomware 3 5 15 Immutable backups + air-gapped copies
DNS failure 2 4 8 Multiple DNS providers
Key person unavailable 4 3 12 Runbook documentation + cross-training

2. Recovery Tier Classification

Tier 1 — Critical (RTO < 1hr)

  • Authentication service
  • Payment processing
  • Core API

Tier 2 — Important (RTO < 4hr)

  • Admin dashboard
  • Reporting
  • Email delivery

Tier 3 — Standard (RTO < 24hr)

  • Analytics
  • Internal tools
  • Dev/staging environments

3. Failover Procedures

For each Tier 1 service, generate step-by-step runbooks:

  • Pre-failover health checks
  • DNS/load balancer switchover steps
  • Data consistency verification
  • Post-failover smoke tests
  • Rollback procedure if failover fails

4. Backup Strategy

Data Store Backup Frequency Retention Location Recovery Test Frequency
Primary DB Continuous (WAL) 30 days Cross-region Monthly
Object Storage Cross-region replication Indefinite Secondary region Quarterly
Config/Secrets On change 90 days Encrypted S3 + local Monthly

5. Communication Plan

  • Internal escalation: PagerDuty/Opsgenie chain with backup contacts
  • Status page: Auto-update triggers at incident declaration
  • Customer notification: Templates for P1-P4 severity levels
  • Executive briefing: 15-min cadence during P1, hourly during P2

6. Testing Schedule

Test Type Frequency Scope Duration
Tabletop exercise Quarterly Full team walkthrough 2 hours
Component failover Monthly Individual service 1 hour
Full DR simulation Annually Complete failover 4-8 hours
Backup restore Monthly Random data store 1 hour

7. Cost Model

Break down DR spending by category:

  • Infrastructure (standby capacity, cross-region replication)
  • Tooling (monitoring, alerting, backup software)
  • Testing (engineer hours, cloud costs during drills)
  • Training (onboarding, annual refreshers)

Benchmark: DR typically costs 15-25% of primary infrastructure spend. Companies without DR plans face average downtime costs of $5,600/minute.

Compliance Mapping

Map each DR control to framework requirements:

  • SOC 2 CC7.4/CC7.5: Incident response and recovery
  • ISO 27001 A.17: Information security continuity
  • HIPAA §164.308(a)(7): Contingency plan
  • PCI DSS 12.10: Incident response plan

Rules

  • Always include specific commands and CLI examples (not just "failover the database")
  • Include estimated time for each step in runbooks
  • Flag single points of failure explicitly
  • Default to the 3-2-1 backup rule: 3 copies, 2 media types, 1 offsite
  • Include cost estimates in USD for each recommendation
  • Never assume unlimited budget — tier recommendations by cost

Next Steps

Want to go deeper? Check out the full AI Context Packs — pre-built knowledge bases for SaaS, Healthcare, Legal, Manufacturing, and more. $47 per industry pack, or grab all 10 for $197.

Calculate what manual DR planning costs your team: AI Revenue Calculator

Set up your agent stack in 5 minutes: Agent Setup Wizard