Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

fairdb-backup-managerfairdb 备份管理器

Agent Skill

fairdb-backup-manager 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

514

周安装

21

GitHub Stars

2,081

下载量

165
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fairdb-backup-manager(fairdb 备份管理器)
来源仓库:https://github.com/jeremylongshore/claude-code-plugins-plus-skills
仓库路径:skills/fairdb-backup-manager
安装命令:
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill fairdb-backup-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill fairdb-backup-manager

简介

用于 FairDB 数据库备份与恢复自动化,支持本地存储与 S3 两种目标。

  • 适用于需要保留策略配置、完整性校验和定时任务调度的运维场景。
  • 通过 tar/rsync 实现文件级备份,AWS CLI 对接 S3 存储桶。
  • 安装命令:npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill fairdb-backup-manager。
  • 首次使用前应验证备份目录容量与网络连通性,避免失败导致数据丢失。

SKILL.md

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.01%
按下载量换算58

Claude

32.62%
按下载量换算54

Cursor

17.19%
按下载量换算28

Gemini CLI

10.36%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills