Agent skill

Implementing Backup Strategies

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Execute use when you need to work with backup and recovery. An agent skill from jeremylongshore/tons-of-skills-marketplace.

MITAuto-check passedDevOps & Cloud

Install Implementing Backup Strategies

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill implementing-backup-strategies -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace implementing-backup-strategies --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/implementing-backup-strategies .claude/skills/implementing-backup-strategies && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
implementing-backup-strategies
GitHub stars
2.8k
Token cost
~1.1k tokens
SKILL.md length
464 words
Files
4 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Execute use when you need to work with backup and recovery. An agent skill from jeremylongshore/tons-of-skills-marketplace.

  • Works in 9 steps: Inventory all data sources requiring… → Classify data by RPO (Recovery Point… → Select backup strategy per data class:… → …
  • You need to work with backup and recovery
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Calls pg_dump and rsync

What it does

Implementing Backup Strategies is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute 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".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts, reference files and assets (for example `assets/README.md`, `references/README.md` and `scripts/README.md`). Compatibility notes: Designed for Claude Code

It sits in DevOps & Cloud, covering Backup and disaster recovery. It works with Linux. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • You need to work with backup and recovery
  • With phrases like create backups
  • Automate backups
  • Implement disaster recovery

Example prompts

  • “create backups”
  • “automate backups”
  • “implement disaster recovery”
  • “/implementing-backup-strategies”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(tar:*), Bash(rsync:*), Bash(aws:s3:*)

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Inventory all data sources requiring backup: databases, application data directories, configuration files, secrets/certificates
  2. Classify data by RPO (Recovery Point Objective) and RTO (Recovery Time Objective) requirements
  3. Select backup strategy per data class: full daily + incremental hourly for databases, snapshot-based for block storage, rsync for file…
  4. Generate backup scripts using appropriate tools (pg_dump --format=custom, tar czf, rsync -avz --delete)
  5. Configure retention policy: daily backups kept 7 days, weekly kept 4 weeks, monthly kept 12 months
  6. Add encryption for backups containing sensitive data (gpg --encrypt or S3 server-side encryption with KMS)
  7. Set up automated scheduling via cron jobs or systemd timers with proper logging
  8. Implement backup verification: restore to a test environment on a weekly schedule and validate data integrity
  9. Configure alerting for backup failures via email, Slack, or PagerDuty

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(tar:*)
    • Bash(rsync:*)
    • Bash(aws:s3:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • pg_dump
    • rsync

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • postgresql.org
    • docs.aws.amazon.com
    • restic.readthedocs.io
    • veeam.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Implementing Backup Strategies loads about 1.1k tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 464 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 464 words, ~1,085 tokens.

Download SKILL.mdSave it as .claude/skills/implementing-backup-strategies/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
implementing-backup-strategies
description
Execute 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:*)
compatibility
Designed for Claude Code
version
1.25.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
devops, backup, disaster-recovery

Implementing Backup Strategies

Overview

Design and implement backup strategies for databases, file systems, and cloud resources using tools like tar, rsync, pg_dump, mysqldump, AWS S3, and cloud-native snapshot APIs. Covers full, incremental, and differential backup schemes with retention policies, encryption, and automated verification.

Prerequisites

  • tar, rsync, or restic installed for file-level backups
  • Database client tools (pg_dump, mysqldump, mongodump) for database backups
  • AWS CLI configured with S3 write permissions (or equivalent GCP/Azure storage access)
  • Sufficient storage capacity at backup destination (local, NFS, or object storage)
  • Cron or systemd timer access for scheduling automated backups
  • GPG or OpenSSL for backup encryption at rest

Instructions

  1. Inventory all data sources requiring backup: databases, application data directories, configuration files, secrets/certificates
  2. Classify data by RPO (Recovery Point Objective) and RTO (Recovery Time Objective) requirements
  3. Select backup strategy per data class: full daily + incremental hourly for databases, snapshot-based for block storage, rsync for file systems
  4. Generate backup scripts using appropriate tools (pg_dump --format=custom, tar czf, rsync -avz --delete)
  5. Configure retention policy: daily backups kept 7 days, weekly kept 4 weeks, monthly kept 12 months
  6. Add encryption for backups containing sensitive data (gpg --encrypt or S3 server-side encryption with KMS)
  7. Set up automated scheduling via cron jobs or systemd timers with proper logging
  8. Implement backup verification: restore to a test environment on a weekly schedule and validate data integrity
  9. Configure alerting for backup failures via email, Slack, or PagerDuty

Output

  • Backup shell scripts with logging, error handling, and lock files to prevent concurrent runs
  • Cron entries or systemd timer/service unit files
  • Retention policy configuration (lifecycle rules for S3, cleanup scripts for local)
  • Restore runbook with step-by-step recovery procedures
  • Monitoring configuration for backup success/failure alerts
Show full SKILL.md (179 more words)Show less

Error Handling

ErrorCauseSolution
No space left on deviceBackup destination fullVerify retention cleanup is running; increase storage or reduce retention window
pg_dump: connection refusedDatabase not accepting connections or wrong credentialsCheck pg_hba.conf, verify connection string, and test with psql first
rsync: connection unexpectedly closedNetwork interruption or SSH timeoutAdd --timeout=300 and --partial flags; use persistent SSH tunnel
S3 upload failed: Access DeniedIAM policy missing s3:PutObject permissionAttach proper IAM policy; verify bucket policy allows writes from the backup source
Backup file corrupted on restoreIncomplete write or disk error during backupAdd checksum verification (sha256sum) after backup; test restores regularly

Examples

  • "Create a backup strategy for a PostgreSQL database: full dump nightly to S3, WAL archiving for point-in-time recovery, 30-day retention."
  • "Generate rsync scripts to mirror /var/www to a remote NAS with incremental daily backups and weekly full backups."
  • "Implement encrypted backups for a MongoDB replica set with automated restore testing every Sunday."

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references, assets) in skills/.curated/implementing-backup-strategies of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • references/README.md
  • scripts/README.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Implementing Backup Strategies next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Implementing Backup Strategies compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Implementing Backup Strategies this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Forgejo MaintainerChrisTitusTech/titus-ai147—~460Automated safety check: PassNone
Backup Recoverysickn33/agentic-awesome-skills47k2 repos~3kAutomated safety check: WarnMIT
Harden Vpsdanielvm-git/bigpowers260—~1.3kAutomated safety check: NotesMIT
Computer Repair88lin/computer-repair-skill3561 repos~1.2kAutomated safety check: WarnAGPL-3.0
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT

Similar skills

  • Forgejo Maintainer

    ChrisTitusTech/titus-ai

    Administer Forgejo or Gitea installations, including upgrades, backups, migrations, repository access, and Actions runners.

    147 GitHub stars~460 tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Backup Recovery

    sickn33/agentic-awesome-skills

    Implement backup and recovery strategies. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~3k tokens
    DevOps & CloudAuto-check: warnings
  • Harden Vps

    danielvm-git/bigpowers

    Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH…

    260 GitHub stars~1.3k tokensUpdated 19 days ago
    DevOps & CloudAuto-check: notes
  • Computer Repair

    88lin/computer-repair-skill

    Diagnoses and repairs Windows, macOS and Linux computers with evidence first, a confirmed plan, minimal changes and verification, using on-demand playbooks.

    356 GitHub starsUsed in 1 repo~1.2k tokens
    DevOps & CloudAuto-check: warnings
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • OmniRoute Backup and Sync CLI

    diegosouzapw/OmniRoute

    Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

    75k GitHub stars~948 tokensUpdated today
    DevOps & CloudAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Implementing Backup Strategies

What does Implementing Backup Strategies do?

Execute use when you need to work with backup and recovery. An agent skill from jeremylongshore/tons-of-skills-marketplace. Implementing Backup Strategies is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute use when you need to work with backup and recovery.

When should I use Implementing Backup Strategies?

Implementing Backup Strategies fits situations like: you need to work with backup and recovery; with phrases like create backups; automate backups; implement disaster recovery.

How do I install Implementing Backup Strategies in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill implementing-backup-strategies -a claude-code`. Or copy the skill folder (skills/.curated/implementing-backup-strategies in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/implementing-backup-strategies in your project. Claude Code loads it when a task matches its description.

How do I install Implementing Backup Strategies in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill implementing-backup-strategies -a codex`. Or copy the skill folder (skills/.curated/implementing-backup-strategies in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/implementing-backup-strategies in your project. Codex loads it when a task matches its description.

Can I use Implementing Backup Strategies in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill implementing-backup-strategies -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/implementing-backup-strategies, .gemini/skills/implementing-backup-strategies, .github/skills/implementing-backup-strategies and .opencode/skills/implementing-backup-strategies in your project.

What does Implementing Backup Strategies need to run?

Going by SKILL.md and its folder, Implementing Backup Strategies needs the command-line tools its instructions call (pg_dump and rsync). Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(tar:*), Bash(rsync:*), Bash(aws:s3:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Implementing Backup Strategies access the network?

SKILL.md names 4 domains. As links in the text: postgresql.org, docs.aws.amazon.com, restic.readthedocs.io and veeam.com. This is read from the text; nothing was executed.

Is Implementing Backup Strategies safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Implementing Backup Strategies use?

Implementing Backup Strategies is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Implementing Backup Strategies use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 18 tokens, read only when the agent opens those files.

What are the alternatives to Implementing Backup Strategies?

Skills that share tags, products or a category with Implementing Backup Strategies: Forgejo Maintainer (ChrisTitusTech/titus-ai, 147 stars), Backup Recovery (sickn33/agentic-awesome-skills, 47k stars), Harden Vps (danielvm-git/bigpowers, 260 stars) and Computer Repair (88lin/computer-repair-skill, 356 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Implementing Backup Strategies?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.