fairdb-backup-manager
jeremylongshore/claude-code-plugins-plus
백업 및 복구 작업을 수행해야 할 때 사용하세요. 이 스킬은 포괄적인 안내와 자동화 기능을 통해 백업 자동화 및 재해 복구 기능을 제공합니다. “백업 생성”, “백업 자동화” 또는 “재해 복구 실행”과 같은 문구로 실행할 수 있습니다.
...모든 것을 확장하십시오소개 fairdb-backup-manager
fairdb-backup-manager 스킬은 fairdb 데이터베이스를 사용하는 시스템의 백업 및 재해 복구 프로세스를 자동화하고 간소화합니다. 이 스킬은 백업 관리, 정기 백업 일정 자동화, 장애나 재해 발생 시 데이터 복구를 보장하기 위한 포괄적인 솔루션을 제공합니다. 이 스킬은 시스템 관리자와 개발자가 백업 작업을 효율적으로 처리할 수 있도록 특별히 설계되어, 수작업 부담을 줄이고 시스템 중단이나 예기치 못한 상황 발생 시 데이터 손실 위험을 최소화합니다.
자주 묻는 질문
fairdb-backup-manager 스킬은 어떻게 사용하나요?
fairdb-backup-manager 스킬을 사용하려면 '백업 생성', '백업 자동화' 또는 '재해 복구 구현'과 같은 명령어로 스킬을 실행하십시오. 시작하기 전에 필요한 권한과 구성이 설정되어 있는지 확인하십시오.
fairdb-backup-manager 는 어떤 도구를 지원하나요?
fairdb-backup-manager 스킬은 다음 도구를 지원합니다: Read, Write, Edit, Grep, Glob, Bash(tar, rsync 및 AWS S3 지원 포함). 이러한 도구를 통해 백업 작업과 데이터 복구 프로세스를 효과적으로 관리할 수 있습니다.
이 스킬을 사용하기 위한 필수 조건이 있나요?
예, 해당 작업을 수행하기 위해 필요한 자격 증명과 권한이 있어야 합니다. 또한 시스템 아키텍처에 대한 이해, 관련 문서에 대한 접근 권한, 테스트를 위한 스테이징 환경이 필수적인 전제 조건입니다.
이 스킬을 프로덕션 환경에서 사용할 수 있나요?
네, 이 스킬은 프로덕션 환경에서 사용할 수 있지만, 먼저 비프로덕션 환경에서 테스트해 보는 것이 좋습니다. 배포 전에 철저한 테스트, 모니터링 및 검증을 수행해야 합니다.
권한이나 액세스 문제가 발생하면 어떻게 되나요?
권한 문제가 발생하면 자격 증명이 정확한지, 필요한 접근 권한이 부여되어 있는지 확인하십시오. 필요한 경우 상위 수준의 접근 권한을 요청하고, 자동화된 작업에는 최소 권한 원칙을 적용하십시오.
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
tarandrsyncinstalled for file-level backups- AWS CLI configured with
s3:PutObjectands3:GetObjectpermissions (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
- Assess the FairDB instance: identify data directory location, database size, and write throughput
- Select backup method: logical dump for portability, filesystem snapshot for speed, or continuous archiving for minimal RPO
- Generate backup script with lock acquisition, data export, compression (
tar czf), and checksum generation - Configure S3 upload with server-side encryption (
aws s3 cp --sse aws:kms) for off-site copies - Set up retention policy: keep hourly backups for 24 hours, daily for 7 days, weekly for 4 weeks, monthly for 12 months
- Create cleanup script to purge expired backups according to retention schedule
- Schedule backups via cron with proper logging to
/var/log/fairdb-backup.log - Generate restore procedure: download from S3, verify checksum, decompress, and import with validation query
- 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/
fairdb-backup-manager 설치
스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.
ZIP 다운로드저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/devops/fairdb-operations-kit/skills/fairdb-backup-manager/SKILL.md # Copy SKILL.md to your .claude/skills/ directory
복사





집
