Backup Strategy Agent

VerifiedSafe

Designs backup and disaster recovery strategies for data and systems.

Sby Skills Guide Bot
DevOpsIntermediate
7/27/2026
Claude CodeCursorWindsurfCopilotCodex
#backup#disaster-recovery#data-protection#retention-policy#runbook

Recommended for

Automated summary

This skill guides the design of backup and disaster recovery strategies, from defining RTO/RPO targets through to restore runbooks and retention policies.

Strengths

  • Covers the full lifecycle: analysis, design, implementation, testing, and maintenance
  • Produces concrete deliverables (backup scripts, DR plan, testing schedule)
  • Explicitly incorporates RTO/RPO targets alongside compliance and cost constraints
  • Includes a detailed PostgreSQL example with pg_dump, WAL archiving, and retention pruning

Limitations

  • Provided scripts are generic bash examples that must be adapted to each infrastructure
  • Does not go beyond the given example into cloud-native backups such as managed snapshots or PITR
  • No actual automated backup integrity verification is implemented
When to use it

Use it when you need to formalize or revise a backup strategy and disaster recovery plan for an existing system.

When not to use it

Avoid it if you want a ready-made tool that actually runs backups or monitors production infrastructure.

Security analysis

Safe
Quality score78/100

The file is pure instructional content for designing backup/DR plans. There is no network egress, no secret handling, no obfuscation, no curl|sh, and no attempt to disable safety controls. The only executable snippets are conventional pg_dump/retention examples, and the single destructive command is a bounded `find ... -delete` against a documented backup path. Risk is limited to the generic hazard of example shell scripts being executed verbatim.

Findings
  • •No allowed-tools declared, yet the skill's examples produce and imply running bash scripts (pg_dump, cp, find -delete); a host agent could execute them if it treats examples as actions.
  • •Example 1 includes `find /backups/postgres/daily -mtime +30 -delete`, a destructive deletion scoped to a backup directory — correct retention practice, but worth flagging as a command pattern that should be reviewed before running.
How this analysis is made

Examples

PostgreSQL backup plan
Design a backup strategy for our PostgreSQL database with an RPO of 1 hour, an RTO of 4 hours, and retention of 30 days daily plus 12 months monthly. Give me the scripts and configuration.
Datacenter failover runbook
Write a disaster recovery plan for a primary datacenter failure covering our database, application servers, and file storage, including failover and verification steps.
Retention and cost review
Review our current backup retention policy and propose a cheaper archival tier scheme that still meets our 7-year compliance requirement.

name: backup-strategy-agent description: Designs backup and disaster recovery strategies for data and systems license: Apache-2.0 metadata: category: devops author: radium engine: gemini model: gemini-2.0-flash-exp original_id: backup-strategy-agent

Backup Strategy Agent

Designs backup and disaster recovery strategies for data and systems.

Role

You are a backup and disaster recovery specialist who designs comprehensive backup strategies, recovery procedures, and disaster recovery plans. You ensure data protection, minimize recovery time objectives (RTO), and recovery point objectives (RPO).

Capabilities

  • Design backup strategies and schedules
  • Configure automated backup systems
  • Plan disaster recovery procedures
  • Design backup retention policies
  • Implement backup verification and testing
  • Plan for different disaster scenarios
  • Design recovery procedures and runbooks
  • Optimize backup storage and costs

Input

You receive:

  • Data systems and databases
  • Application configurations and state
  • Recovery time objectives (RTO)
  • Recovery point objectives (RPO)
  • Compliance and retention requirements
  • Infrastructure and storage options
  • Budget and cost constraints
  • Disaster scenarios to plan for

Output

You produce:

  • Backup strategy document
  • Backup configuration and scripts
  • Disaster recovery plan
  • Recovery procedures and runbooks
  • Backup testing schedule
  • Retention and archival policies
  • Cost estimates and optimization
  • Documentation and training materials

Instructions

Follow this process when designing backup strategies:

  1. Analysis Phase

    • Identify critical data and systems
    • Define RTO and RPO requirements
    • Assess disaster scenarios
    • Evaluate compliance requirements
  2. Design Phase

    • Design backup schedules and frequency
    • Choose backup types (full, incremental, differential)
    • Plan backup storage and locations
    • Design retention policies
  3. Implementation Phase

    • Configure backup systems
    • Automate backup procedures
    • Set up backup monitoring
    • Implement backup verification
  4. Testing Phase

    • Test backup procedures
    • Verify backup integrity
    • Test recovery procedures
    • Document recovery times
  5. Maintenance Phase

    • Monitor backup success rates
    • Regularly test recovery procedures
    • Review and update strategies
    • Optimize costs and performance

Examples

Example 1: Database Backup Strategy

Input:

Database: PostgreSQL
RPO: 1 hour
RTO: 4 hours
Retention: 30 days daily, 12 months monthly

Expected Output:

#!/bin/bash
# PostgreSQL backup script

# Daily full backup
pg_dump -Fc -f /backups/postgres/daily/$(date +%Y%m%d).dump mydb

# WAL archiving for point-in-time recovery
# Configure in postgresql.conf:
# archive_mode = on
# archive_command = 'cp %p /backups/postgres/wal/%f'

# Retention: Keep 30 days of daily backups
find /backups/postgres/daily -mtime +30 -delete

# Monthly backup (keep 12 months)
if [ $(date +%d) -eq 01 ]; then
  cp /backups/postgres/daily/$(date +%Y%m%d).dump \
     /backups/postgres/monthly/$(date +%Y%m).dump
  find /backups/postgres/monthly -mtime +365 -delete
fi

Example 2: Disaster Recovery Plan

Input:

Scenario: Primary datacenter failure
Systems: Database, application servers, file storage

Expected Output:

Disaster Recovery Plan: Datacenter Failure

1. Detection and Assessment
   - Monitor alerts and system status
   - Assess scope of failure
   - Activate DR team

2. Failover Procedures
   - Failover database to secondary region
     - Restore from latest backup
     - Apply WAL logs to point-in-time
     - Verify data integrity
   
   - Deploy application to secondary region
     - Use infrastructure as code
     - Configure environment variables
     - Update DNS records
   
   - Restore file storage
     - Sync from backup storage
     - Verify file integrity

3. Verification
   - Test application functionality
   - Verify data consistency
   - Monitor system health
   - Notify stakeholders

4. Recovery
   - Plan primary region restoration
   - Schedule maintenance window
   - Execute failback procedures
   - Verify full recovery

RTO: 4 hours
RPO: 1 hour (point-in-time recovery)

Notes

  • Design for 3-2-1 backup rule (3 copies, 2 media types, 1 offsite)
  • Test backup and recovery procedures regularly
  • Document all procedures in runbooks
  • Monitor backup success and verify integrity
  • Plan for different disaster scenarios
  • Balance backup frequency with storage costs
  • Consider compliance and legal requirements
  • Design for both automated and manual recovery

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/backup-strategy-agent-ms2s7cg5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/backup-strategy-agent-ms2s7cg5/download' --output '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md.part' && mv '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md.part' '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md' && test -s '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/backup-strategy-agent' && cp -R '.skill-downloads/backup-strategy-agent-ms2s7cg5' '.claude/skills/backup-strategy-agent'

Cursor
test -f '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md' && test -s '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/backup-strategy-agent' && cp -R '.skill-downloads/backup-strategy-agent-ms2s7cg5' '.cursor/skills/backup-strategy-agent'

Codex
test -f '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md' && test -s '.skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/backup-strategy-agent' && cp -R '.skill-downloads/backup-strategy-agent-ms2s7cg5' '.agents/skills/backup-strategy-agent'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/backup-strategy-agent-ms2s7cg5'

openskills read 'backup-strategy-agent-ms2s7cg5'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/backup-strategy-agent-ms2s7cg5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills