Agent skill
backup-recovery
Implement backup and recovery strategies. Configure rsync, Restic, and cloud backups. Use when designing data protection solutions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/backup-recovery
Metadata
Additional technical details for this skill
- author
- devops-skills
- version
- 1.0
SKILL.md
Backup and Recovery
Implement comprehensive backup strategies.
rsync Backups
# Basic sync
rsync -avz --delete /source/ /backup/
# Remote backup
rsync -avz -e ssh /data/ user@backup:/backups/
# Incremental with hard links
rsync -avz --delete --link-dest=/backup/latest /source/ /backup/$(date +%Y%m%d)/
Restic Backup
# Initialize repository
restic init --repo /backups
# Backup
restic backup /data --repo /backups
# List snapshots
restic snapshots --repo /backups
# Restore
restic restore latest --target /restore --repo /backups
# Prune old backups
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --prune
Cloud Backup
# AWS S3 with restic
restic init --repo s3:s3.amazonaws.com/bucket-name
restic backup /data --repo s3:s3.amazonaws.com/bucket-name
# GCS
restic init --repo gs:bucket-name:/
Best Practices
- Follow 3-2-1 rule
- Test recovery regularly
- Encrypt backups
- Document procedures
- Monitor backup success
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?