fairdb-backup-manager
Manage use when you need to work with backup and recovery. This skill provides backup automation and disaster recovery with comprehensive guidance and automation. Trigger with phrases like "create backups", "automate backups", or "implement disaster recovery".
Best use case
fairdb-backup-manager is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manage use when you need to work with backup and recovery. This skill provides backup automation and disaster recovery with comprehensive guidance and automation. Trigger with phrases like "create backups", "automate backups", or "implement disaster recovery".
Teams using fairdb-backup-manager should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/fairdb-backup-manager/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How fairdb-backup-manager Compares
| Feature / Agent | fairdb-backup-manager | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manage use when you need to work with backup and recovery. This skill provides backup automation and disaster recovery with comprehensive guidance and automation. Trigger with phrases like "create backups", "automate backups", or "implement disaster recovery".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# FairDB Backup Manager ## Overview Automate backup and recovery operations for FairDB database instances. Generate backup scripts, configure retention policies, schedule automated backups to local storage or S3, and produce tested restore procedures with integrity verification. ## Prerequisites - FairDB instance running and accessible with admin credentials - `tar` and `rsync` installed for file-level backups - AWS CLI configured with `s3:PutObject` and `s3:GetObject` permissions (if using S3 as backup target) - Sufficient storage at backup destination (2-3x database size for rotation) - Cron or systemd timer access for scheduling - Test environment available for restore verification ## Instructions 1. Assess the FairDB instance: identify data directory location, database size, and write throughput 2. Select backup method: logical dump for portability, filesystem snapshot for speed, or continuous archiving for minimal RPO 3. Generate backup script with lock acquisition, data export, compression (`tar czf`), and checksum generation 4. Configure S3 upload with server-side encryption (`aws s3 cp --sse aws:kms`) for off-site copies 5. Set up retention policy: keep hourly backups for 24 hours, daily for 7 days, weekly for 4 weeks, monthly for 12 months 6. Create cleanup script to purge expired backups according to retention schedule 7. Schedule backups via cron with proper logging to `/var/log/fairdb-backup.log` 8. Generate restore procedure: download from S3, verify checksum, decompress, and import with validation query 9. Test restore procedure in a staging environment and document the time-to-recovery ## Output - Backup shell script with logging, locking, compression, and S3 upload - Restore shell script with checksum verification and data validation - Cron schedule entries or systemd timer units - Retention cleanup script - S3 lifecycle policy configuration for long-term archive tiering ## Error Handling | Error | Cause | Solution | |-------|-------|---------| | `Backup lock acquisition failed` | Another backup or maintenance process is running | Check for stale lock files; implement timeout-based lock with `flock` | | `tar: Cannot open: No space left on device` | Local backup destination full | Run retention cleanup; check disk usage with `df -h`; increase volume size | | `aws s3 cp: upload failed` | Network issue or expired AWS credentials | Retry with `--retry 3`; refresh credentials; check S3 bucket permissions | | `Restore failed: checksum mismatch` | Backup file corrupted during transfer or storage | Re-download from S3; verify S3 object integrity; use a different backup copy | | `Database inconsistent after restore` | Backup taken during active write without lock | Ensure backup script acquires a consistent snapshot lock before export | ## Examples - "Create an automated nightly backup for the FairDB production instance, compressed and uploaded to S3 with KMS encryption and 30-day retention." - "Generate a restore runbook that pulls the latest backup from S3, verifies integrity, and restores to a staging instance for validation." - "Set up backup monitoring that alerts via Slack if a backup job fails or if no successful backup exists within the last 25 hours." ## Resources - AWS S3 CLI: https://docs.aws.amazon.com/cli/latest/reference/s3/ - rsync documentation: https://rsync.samba.org/documentation.html - Backup automation patterns: https://www.veeam.com/blog/321-backup-rule.html - Linux cron scheduling: https://crontab.guru/
Related Skills
terraform-state-manager
Terraform State Manager - Auto-activating skill for DevOps Advanced. Triggers on: terraform state manager, terraform state manager Part of the DevOps Advanced skill category.
ssh-key-manager
Ssh Key Manager - Auto-activating skill for DevOps Basics. Triggers on: ssh key manager, ssh key manager Part of the DevOps Basics skill category.
service-account-manager
Service Account Manager - Auto-activating skill for GCP Skills. Triggers on: service account manager, service account manager Part of the GCP Skills skill category.
integrating-secrets-managers
This skill enables Claude to seamlessly integrate with various secrets managers like HashiCorp Vault and AWS Secrets Manager. It generates configurations and setup code, ensuring best practices for secure credential management. Use this skill when you need to manage sensitive information, generate production-ready configurations, or implement a security-first approach for your DevOps infrastructure. Trigger terms include "integrate secrets manager", "configure Vault", "AWS Secrets Manager setup", "manage credentials securely", or requests for secure configuration generation.
route53-record-manager
Route53 Record Manager - Auto-activating skill for AWS Skills. Triggers on: route53 record manager, route53 record manager Part of the AWS Skills skill category.
redis-cache-manager
Redis Cache Manager - Auto-activating skill for Backend Development. Triggers on: redis cache manager, redis cache manager Part of the Backend Development skill category.
package-json-manager
Package Json Manager - Auto-activating skill for DevOps Basics. Triggers on: package json manager, package json manager Part of the DevOps Basics skill category.
nginx-ingress-manager
Nginx Ingress Manager - Auto-activating skill for DevOps Advanced. Triggers on: nginx ingress manager, nginx ingress manager Part of the DevOps Advanced skill category.
model-versioning-manager
Model Versioning Manager - Auto-activating skill for ML Deployment. Triggers on: model versioning manager, model versioning manager Part of the ML Deployment skill category.
model-registry-manager
Model Registry Manager - Auto-activating skill for ML Deployment. Triggers on: model registry manager, model registry manager Part of the ML Deployment skill category.
model-checkpoint-manager
Model Checkpoint Manager - Auto-activating skill for ML Training. Triggers on: model checkpoint manager, model checkpoint manager Part of the ML Training skill category.
marketplace-manager
Automatically manages marketplace catalog updates, syncs marketplace.json, and handles plugin distribution when user mentions marketplace update, sync catalog, or add to marketplace. Specific to claude-code-plugins two-catalog system.