Skip to content
Agentmart
Submit a tool

backup-restore

Automated backup strategies: database dumps, file snapshots, incremental backups, verification, disaster recovery.

Skill by JansenAnalytics

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jansenanalytics-backup-restore

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Automated backup strategies: database dumps, file snapshots, incremental backups, verification, disaster recovery. Use when: setting up backup schedules, creating database backups, restoring from b...

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/backup-restore

What's inside

Skill name
backup-restore
Description
Automated backup strategies: database dumps, file snapshots, incremental backups, verification, disaster recovery. Use when: setting up backup schedules, creating database backups, restoring from b...
License
MIT
Instructions
63 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: scripts/backup.sh, scripts/restore.sh, scripts/verify-backup.sh, scripts/retention-cleanup.sh, scripts/cron-setup.sh

Files (1)

  • SKILL.md

SKILL.md (first lines)

# backup-restore

Automated backup strategies: database dumps, file snapshots, incremental backups, verification, disaster recovery. Use when: setting up backup schedules, creating database backups, restoring from backups, verifying backup integrity, or planning disaster recovery.

## Workflows

### Create a backup

```bash
bash scripts/backup.sh --type <pg|sqlite|files> --source <path-or-db> --dest <backup-dir>
```

Creates timestamped, compressed backups. Supports PostgreSQL, SQLite, and file directories.

### Restore from backup

```bash
bash scripts/restore.sh --type <pg|sqlite|files> --backup <backup-file> --dest <target>
```

Restores from a backup archive. Prompts for confirmation before overwriting.

### Verify backup integrity

```bash
bash scripts/verify-backup.sh <backup-file>
```

Checks checksums, tests archive integrity, and validates contents.

### Clean up old backups (retention)

```bash
bash scripts/retention-cleanup.sh <backup-dir> [--keep-days 30] [--keep-count 10]
```

Removes old backups based on age or count, keeping minimum required.

### Set up cron schedule

```bash
bash scripts/cron-setup.sh --schedule "0 2 * * *" --command "bash /path/to/backup.sh ..."
```

Adds a cron entry for automated backups.

## Scripts

| Script                         | Purpose                            |
| ------------------------------ | ---------------------------------- |
| `scripts/backup.sh`            | Universal backup (pg/sqlite/files) |
| `scripts/restore.sh`           | Restore from backup                |
| `scripts/verify-backup.sh`     | Verify backup integrity            |
| `scripts/retention-cleanup.sh` | Clean old backups                  |
| `scripts/cron-setup.sh`        | Set up cron schedule               |

## References

| File                              | Contents                              |
| --------------------------------- | ------------------------------------- |
| `references/backup-strategies.md` | 3-2-1 rule, patterns, restore testing |

From JansenAnalytics/claudex, MIT.

More from JansenAnalytics/claudex

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
Jun 3, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from JansenAnalytics

Cite this page

backup-restore skill. Agent Mart. https://agentmart.dev/skills/jansenanalytics-backup-restore (last updated 2026-10-24)