协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
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".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: fairdb-backup-manager description: '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".
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(tar:), Bash(rsync:), Bash(aws:s3:*) version: 1.26.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
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.
tar and rsync installed for file-level backupss3:PutObject and s3:GetObject permissions (if using S3 as backup target)tar czf), and checksum generationaws s3 cp --sse aws:kms) for off-site copies/var/log/fairdb-backup.log| 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 |