Backup Validation
Plan backup strategy, testing, and restoration verification for "$ARGUMENTS" covering backup inventory, frequency, storage locations, test restoration schedule, and monitoring.
Prerequisites
Read .metapowers/security/$ARGUMENTS/00-govern.md. If this file does not exist, tell the user:
Phase 0 (Govern) has not been completed for "$ARGUMENTS". Run a Govern skill first (e.g., /security:security-policy $ARGUMENTS), or use --skip-checks to bypass.
If --skip-checks is present in $ARGUMENTS, skip this check and log to .metapowers/security/$ARGUMENTS/skip-log.md.
Process
Read context files:
- Read
plugins/security/shared/incident-response-template.md for recovery reference
- Read
.metapowers/security/$ARGUMENTS/00-govern.md for organizational context and data classification
Inventory what is backed up:
- Databases — production databases, read replicas, configuration databases
- File systems — application data, user uploads, shared storage
- Configurations — infrastructure-as-code, application config, environment variables
- Secrets — encryption keys, certificates, API keys (backed up to separate secure vault)
- Code and artifacts — source code repositories, build artifacts, container images
- Identify what is NOT currently backed up and assess whether it should be
Define backup frequency per data type:
- Real-time replication — production databases, critical state stores (synchronous or asynchronous replication)
- Hourly — transaction logs, high-change-rate data stores
- Daily — application data, file systems, configuration snapshots
- Weekly — full database backups, complete system images
- On change — infrastructure-as-code, secrets, certificates (version-controlled)
- Align frequency with RPO targets from recovery plan
Define backup types:
- Full backups — complete copy of all data (weekly or as baseline)
- Incremental backups — only changes since last backup (daily, reduces storage and time)
- Differential backups — changes since last full backup (mid-week, balances recovery speed and storage)
- Snapshots — point-in-time snapshots for cloud resources (EBS, RDS, managed disks)
- Define retention periods per backup type (daily: 30 days, weekly: 90 days, monthly: 1 year)
Define storage locations:
- On-site — local storage for fastest recovery (hot standby)
- Off-site — geographically separate facility for disaster protection
- Cloud — cloud object storage (S3, Azure Blob, GCS) with cross-region replication
- Air-gapped — offline storage disconnected from network for ransomware protection
- Apply 3-2-1 rule: 3 copies, 2 different media types, 1 offsite
- Encrypt all backups at rest with keys stored separately from backup data
Define test restoration schedule:
- Critical systems (Tier 1) — monthly restoration test to isolated environment
- Important systems (Tier 2) — quarterly restoration test
- Supporting systems (Tier 3) — semi-annual restoration test
- Test procedure: restore to isolated environment, verify data integrity, verify application functionality, measure restoration time
- Document test results: success/failure, restoration time, issues encountered, corrective actions
- Annual full disaster recovery exercise simulating complete environment restoration
Define backup monitoring and alerting:
- Monitor backup job completion (success/failure/partial)
- Alert on backup failures immediately (P2 for Tier 1, P3 for Tier 2–3)
- Monitor backup size trends (detect anomalies — sudden growth or shrinkage)
- Monitor storage capacity and forecast depletion
- Track backup and restoration SLA compliance (backup window, retention compliance)
Document restoration procedures step-by-step:
- Per system type: prerequisites, access requirements, step-by-step commands or console actions
- Include rollback plan if restoration fails
- Document known issues and workarounds from past restoration tests
- Maintain runbook in accessible location (not only on systems that might be unavailable)
Write the artifact to .metapowers/security/$ARGUMENTS/05-recover.md with heading:
Backup Validation
Include sections:
- Backup Inventory — what is backed up and what is not
- Backup Frequency — per data type aligned with RPO targets
- Backup Types — full, incremental, differential, snapshots with retention periods
- Storage Locations — on-site, off-site, cloud, air-gapped with 3-2-1 compliance
- Test Restoration Schedule — testing cadence and procedures per tier
- Monitoring and Alerting — backup job monitoring and anomaly detection
- Restoration Procedures — step-by-step per system type
Output
The backup validation plan written to .metapowers/security/$ARGUMENTS/05-recover.md. Present a summary to the user highlighting:
- Backup inventory coverage and identified gaps
- Backup frequency aligned with RPO targets
- Storage strategy following 3-2-1 rule
- Test restoration schedule and monitoring approach
1---2name: backup-validation3description: Plan backup strategy, testing, and restoration verification4---56# Backup Validation78Plan backup strategy, testing, and restoration verification for "$ARGUMENTS" covering backup inventory, frequency, storage locations, test restoration schedule, and monitoring.910## Prerequisites1112Read `.metapowers/security/$ARGUMENTS/00-govern.md`. If this file does not exist, tell the user:1314> Phase 0 (Govern) has not been completed for "$ARGUMENTS". Run a Govern skill first (e.g., `/security:security-policy $ARGUMENTS`), or use `--skip-checks` to bypass.1516If `--skip-checks` is present in $ARGUMENTS, skip this check and log to `.metapowers/security/$ARGUMENTS/skip-log.md`.1718## Process19201. **Read context files:**21 - Read `plugins/security/shared/incident-response-template.md` for recovery reference22 - Read `.metapowers/security/$ARGUMENTS/00-govern.md` for organizational context and data classification23242. **Inventory what is backed up:**25 - **Databases** — production databases, read replicas, configuration databases26 - **File systems** — application data, user uploads, shared storage27 - **Configurations** — infrastructure-as-code, application config, environment variables28 - **Secrets** — encryption keys, certificates, API keys (backed up to separate secure vault)29 - **Code and artifacts** — source code repositories, build artifacts, container images30 - Identify what is NOT currently backed up and assess whether it should be31323. **Define backup frequency per data type:**33 - **Real-time replication** — production databases, critical state stores (synchronous or asynchronous replication)34 - **Hourly** — transaction logs, high-change-rate data stores35 - **Daily** — application data, file systems, configuration snapshots36 - **Weekly** — full database backups, complete system images37 - **On change** — infrastructure-as-code, secrets, certificates (version-controlled)38 - Align frequency with RPO targets from recovery plan39404. **Define backup types:**41 - **Full backups** — complete copy of all data (weekly or as baseline)42 - **Incremental backups** — only changes since last backup (daily, reduces storage and time)43 - **Differential backups** — changes since last full backup (mid-week, balances recovery speed and storage)44 - **Snapshots** — point-in-time snapshots for cloud resources (EBS, RDS, managed disks)45 - Define retention periods per backup type (daily: 30 days, weekly: 90 days, monthly: 1 year)46475. **Define storage locations:**48 - **On-site** — local storage for fastest recovery (hot standby)49 - **Off-site** — geographically separate facility for disaster protection50 - **Cloud** — cloud object storage (S3, Azure Blob, GCS) with cross-region replication51 - **Air-gapped** — offline storage disconnected from network for ransomware protection52 - Apply 3-2-1 rule: 3 copies, 2 different media types, 1 offsite53 - Encrypt all backups at rest with keys stored separately from backup data54556. **Define test restoration schedule:**56 - **Critical systems (Tier 1)** — monthly restoration test to isolated environment57 - **Important systems (Tier 2)** — quarterly restoration test58 - **Supporting systems (Tier 3)** — semi-annual restoration test59 - Test procedure: restore to isolated environment, verify data integrity, verify application functionality, measure restoration time60 - Document test results: success/failure, restoration time, issues encountered, corrective actions61 - Annual full disaster recovery exercise simulating complete environment restoration62637. **Define backup monitoring and alerting:**64 - Monitor backup job completion (success/failure/partial)65 - Alert on backup failures immediately (P2 for Tier 1, P3 for Tier 2–3)66 - Monitor backup size trends (detect anomalies — sudden growth or shrinkage)67 - Monitor storage capacity and forecast depletion68 - Track backup and restoration SLA compliance (backup window, retention compliance)69708. **Document restoration procedures step-by-step:**71 - Per system type: prerequisites, access requirements, step-by-step commands or console actions72 - Include rollback plan if restoration fails73 - Document known issues and workarounds from past restoration tests74 - Maintain runbook in accessible location (not only on systems that might be unavailable)75769. **Write the artifact** to `.metapowers/security/$ARGUMENTS/05-recover.md` with heading:7778 ## Backup Validation7980 Include sections:81 - **Backup Inventory** — what is backed up and what is not82 - **Backup Frequency** — per data type aligned with RPO targets83 - **Backup Types** — full, incremental, differential, snapshots with retention periods84 - **Storage Locations** — on-site, off-site, cloud, air-gapped with 3-2-1 compliance85 - **Test Restoration Schedule** — testing cadence and procedures per tier86 - **Monitoring and Alerting** — backup job monitoring and anomaly detection87 - **Restoration Procedures** — step-by-step per system type8889## Output9091The backup validation plan written to `.metapowers/security/$ARGUMENTS/05-recover.md`. Present a summary to the user highlighting:92- Backup inventory coverage and identified gaps93- Backup frequency aligned with RPO targets94- Storage strategy following 3-2-1 rule95- Test restoration schedule and monitoring approach