オプション
家 Skill 生産性とワークフロー fairdb-backup-manager

バックアップや復旧作業を行う必要がある場合に使用してください。このスキルは、包括的なガイダンスと自動化機能により、バックアップの自動化と災害復旧を実現します。「バックアップを作成する」、「バックアップを自動化する」、または「災害復旧を実施する」といったフレーズでトリガーできます。

...すべて拡張します
45
更新された時間 2026年6月29日

概要fairdb-backup-manager

fairdb-backup-manager スキルは、fairdbデータベースを使用するシステムのバックアップおよび災害復旧プロセスを自動化・効率化します。このスキルは、バックアップの管理、定期的なバックアップスケジュールの自動化、および障害や災害発生時のデータ復旧を確実に行うための包括的なソリューションを提供します。 このスキルは、システム管理者や開発者がバックアップタスクを効率的に処理できるよう支援することを目的に特別に設計されており、手作業の負担を軽減するとともに、システム停止や予期せぬ事態発生時のデータ損失リスクを最小限に抑えます。

よくある質問

fairdb-backup-manager スキルの使用方法は?

fairdb-backup-manager スキルを使用するには、「create backups」、「automate backups」、または「implement disaster recovery」などのコマンドでトリガーします。開始する前に、必要な権限と設定が整っていることを確認してください。

fairdb-backup-manager はどのツールをサポートしていますか?

fairdb-backup-manager スキルは、Read、Write、Edit、Grep、Glob、Bash(tar、rsync、AWS S3に対応)といったツールをサポートしています。これらのツールを使用することで、バックアップタスクやデータ復旧プロセスを効果的に管理できます。

このスキルを使用するための前提条件はありますか?

はい。操作に必要な認証情報と権限が必要です。さらに、システムアーキテクチャの理解、関連ドキュメントへのアクセス、およびテスト用のステージング環境も不可欠な前提条件となります。

このスキルは本番環境で使用できますか?

はい、本番環境でも使用できますが、まずは本番環境以外の環境でテストすることをお勧めします。デプロイ前には、徹底的なテスト、監視、および検証を行う必要があります。

権限やアクセスに関する問題が発生した場合はどうなりますか?

権限に関する問題が発生した場合は、認証情報が正しく、必要なアクセス権限が与えられていることを確認してください。必要に応じて、より高い権限へのアクセスを申請し、自動化されたタスクについては「最小権限の原則」を適用してください。

GitHubで見る

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

ErrorCauseSolution
Backup lock acquisition failedAnother backup or maintenance process is runningCheck for stale lock files; implement timeout-based lock with flock
tar: Cannot open: No space left on deviceLocal backup destination fullRun retention cleanup; check disk usage with df -h; increase volume size
aws s3 cp: upload failedNetwork issue or expired AWS credentialsRetry with --retry 3; refresh credentials; check S3 bucket permissions
Restore failed: checksum mismatchBackup file corrupted during transfer or storageRe-download from S3; verify S3 object integrity; use a different backup copy
Database inconsistent after restoreBackup taken during active write without lockEnsure 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/

すべてのファイル

1件のファイル

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

コピー コピー
クイックセットアップ: skill フォルダを .claude/skills/ にコピーしてください。Claude が自動的にスキルを検出して使用します。

関連スキル

notion-automation
更新された時間 2026年6月29日
airtable-automation
更新された時間 2026年6月29日
seo-programmatic
更新された時間 2026年6月29日
revops
更新された時間 2026年6月29日
OR