
Backup Disaster Recovery
This handles backup automation and disaster recovery planning for databases and infrastructure. You get example scripts for PostgreSQL backups with retention policies, cross-region failover configs, and recovery procedure templates. It's pitched at the operational level: setting up cron jobs, defining RTOs, testing restores. The reference guides cover database backups, DR plan templates, and failover setups. Honestly, the real value is in forcing you to document and test your recovery procedures, because most teams only discover their backups don't work when they desperately need them. The examples lean Kubernetes-native but the principles apply anywhere you need to not lose data.
- skills.sh installs
- 626
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill backup-disaster-recovery --agent claude-codeInstalls into .claude/skills of the current project.
Files
Backup and Disaster Recovery
Table of Contents
Overview
Design and implement comprehensive backup and disaster recovery strategies to ensure data protection, business continuity, and rapid recovery from infrastructure failures.
When to Use
- Data protection and compliance
- Business continuity planning
- Disaster recovery planning
- Point-in-time recovery
- Cross-region failover
- Data migration
- Compliance and audit requirements
- Recovery time objective (RTO) optimization
Quick Start
Minimal working example:
# postgres-backup-cronjob.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: backup-script
namespace: databases
data:
backup.sh: |
#!/bin/bash
set -euo pipefail
BACKUP_DIR="/backups/postgresql"
RETENTION_DAYS=30
DB_HOST="${POSTGRES_HOST}"
DB_PORT="${POSTGRES_PORT:-5432}"
DB_USER="${POSTGRES_USER}"
DB_PASSWORD="${POSTGRES_PASSWORD}"
export PGPASSWORD="$DB_PASSWORD"
# Create backup directory
mkdir -p "$BACKUP_DIR"
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Github Actions Workflow626
- Color Accessibility624
- Fastapi Development624
- Static Code Analysis622
- Unit Testing Framework622
- Aws Lambda Functions619
- User Research Analysis618
- Vulnerability Scanning617
- Data Encryption616
- Api Authentication612
- Performance Testing609
- Competitor Analysis608
- Refactor Legacy Code608
- Security Testing607
- Frontend Accessibility604
- Design Patterns Implementation600
- Database Schema Design597
- Aws S3 Management595
- Database Query Optimization593
- Memory Leak Detection589
- Database Backup Restore588
- Technical Roadmap Planning582
- Accessibility Testing580
- Push Notification Setup580