backup-dr
Use when the user asks about backup strategy, the 3-2-1 rule, RPO and RTO, disaster recovery plans, pilot light or warm standby, immutable backups, ransomware…
от j4flmao★ 47 звёзд на GitHub
Установить backup-dr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Backup and Disaster Recovery
Purpose
Design and implement backup strategies and disaster recovery plans with defined RPO/RTO, the 3-2-1 rule, automation, validation, and cloud DR patterns.
Agent Protocol
Trigger
Exact user phrases: "backup", "disaster recovery", "DR", "RPO", "RTO", "backup strategy", "3-2-1 rule", "business continuity", "failover", "failback", "snapshot", "backup automation".
Input Context
Before activating, verify:
- Infrastructure type (on-prem VMs, cloud instances, Kubernetes, databases, files).
- Current RPO/RTO targets (recovery point/time objectives).
- Compliance requirements (HIPAA, PCI, SOC 2, GDPR — determines retention).
- Budget for backup storage and DR infrastructure.
- Criticality tier: Tier 1 (minutes RPO), Tier 2 (hours), Tier 3 (days).
- Existing backup tools (Veeam, Rubrik, Commvault, cloud-native).
Output Artifact
Writes to backup automation scripts (Python/Bash/PowerShell), Terraform for DR infra, runbooks, and CI/CD pipeline for backup validation.
Response Format
Configuration files, scripts, and runbook templates with no extraneous explanation.
No preamble. No postamble. No explanations. No filler/hedging/transitions.
Completion Criteria
- RPO and RTO defined per workload tier.
- 3-2-1 backup strategy implemented (3 copies, 2 media, 1 offsite).
- Backup automation configured with alerting.
- DR plan documented with failover/failback procedures.
- Backup validation testing scheduled (automated restore test).
- Immutable backups configured for ransomware protection.
Max Response Length
Direct file write. No response text.
Architecture Decision Trees
Backup Strategy by Workload Tier
| Tier | RPO | RTO | Backup Frequency | Storage | Cost |
|---|---|---|---|---|---|
| Tier 1 (Critical) | <15 min | <1 hour | Continuous / 5 min | SSD + offsite replica | $$$ |
| Tier 2 (Important) | <1 hour | <4 hours | Hourly | HDD + offsite | $$ |
| Tier 3 (Standard) | <24 hours | <24 hours | Daily | HDD + cold archive | $ |
| Tier 4 (Archive) | N/A | <7 days | Weekly/Monthly | Cold/Glacier | $ |
Backup Target: On-Prem vs Cloud vs Hybrid
| Strategy | Recovery Speed | Cost | Complexity | Security |
|---|---|---|---|---|
| On-prem only (tape/NAS) | Fast (local) | High (CAPEX) | Low | Physical security |
| Cloud only (S3/Blob) | Depends on network | Pay-per-use | Low | Encryption built-in |
| Hybrid (local + cloud) | Fast local, cloud DR | Medium | Medium | Best of both |
| Multi-cloud backup | DR flexibility | High | High | Complex compliance |
Cloud DR Patterns
| Pattern | RTO | RPO | Cost | Use Case |
|---|---|---|---|---|
| Backup & Restore | Hours | 24 hours | Low | Non-critical |
| Pilot Light (core only) | Minutes | ~1 hour | Medium | Critical but budget-constrained |
| Warm Standby (scaled-down) | Minutes | ~15 min | Medium-High | Always-on failover |
| Multi-site Active-Active | Real-time | Real-time | Very High | Zero downtime required |
Cloud Provider DR Services
| AWS | Azure | GCP | Purpose |
|---|---|---|---|
| AWS Backup | Azure Backup | Backup and DR | Managed backup service |
| S3 Cross-Region Replication | Azure Site Recovery | Cloud Storage DR | Storage replication |
| RDS Multi-AZ / Cross-Region | Azure SQL Geo-Replication | Cloud SQL HA | Database DR |
| DRS (Elastic Disaster Recovery) | Azure Site Recovery | Migrate for Compute | VM-level replication |
| CloudEndure | Azure Site Recovery | Migrate for Compute | Continuous block-level |
Ransomware Protection Methods
| Protection | How It Works | Immutable | Recovery Speed |
|---|---|---|---|
| Immutable S3 (Object Lock) | WORM policy on S3 buckets | Yes (compliance mode) | Fast |
| Air-gapped backup | Physically disconnected backup storage | Yes | Slow (needs connection) |
| Write-Once tape | Physical WORM tape | Yes | Very slow |
| Cloud object lock (Blob/Azure) | Immutable blobs with legal hold | Yes | Fast |
| Backup copy with retention lock | Veeam/Commvault immutable copy | Yes (vendor) | Fast |
Quick Start
Identify workload tiers → Set RPO/RTO → Implement 3-2-1 backup → Automate with scripts/CI → Configure alerts → Test restore → Document DR plan → Schedule recurring validation.
Core Workflow
Step 1: Backup Policy Definition
# backup-policies.yaml
workloads:
- name: production-database
tier: 1
type: postgresql
rpo: 15m
rto: 1h
backup_frequency: continuous_wal
full_backup: daily
retention:
daily: 30
weekly: 12
monthly: 12
yearly: 7
storage:
primary: ssd_gp3
offsite: s3_standard
archive: glacier_deep_archive
replication:
type: cross_region
target_region: us-west-2
encryption:
at_rest: aes256
in_transit: tls12
monitoring:
backup_success_sli: 99.9
restore_test_frequency: monthly
- name: application-files
tier: 2
type: file_server
rpo: 1h
rto: 4h
backup_frequency:
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/backup-3-2-1.md
- references/backup-automation.md
- references/backup-disaster-recovery.md
- references/backup-dr-advanced.md
- references/backup-dr-fundamentals.md
- references/backup-strategies.md
- references/disaster-recovery.md
- references/dr-recovery.md
FAQ
Что делает скилл backup-dr?
Use when the user asks about backup strategy, the 3-2-1 rule, RPO and RTO, disaster recovery plans, pilot light or warm standby, immutable backups, ransomware recovery, or restore testing. Produces a backup and DR plan with tested restore procedures. Not for business continuity programs (use enterprise-business-continuity) or schema migrations (use database-migration).
Как установить скилл backup-dr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл backup-dr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…