restic-dev
restic backup plugin for Agents Store. Set up encrypted daily backups on any Linux server to S3-compatible storage (Cloudflare R2): server recon + restic install, auto-discovery of all Docker volumes/mounts and databases, R2 repository init, a partial-failure-tolerant backup script with logical DB dumps and retention, timezone-aware systemd/cron scheduling, verification, monitoring/dead-man's-switch, and disaster recovery. File-based knowledge, no MCP, no stored credentials.
v1.1.7Updated
- restic
- backup
- restore
- cloudflare-r2
- s3
- object-storage
- docker
- postgres
- disaster-recovery
- systemd
- encryption
- infrastructure
- dev
- agents-store
Install
Pick your agent for the steps.
Install on Claude Code
1.Add the marketplace
/plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
/plugin install restic-dev@agents-store-claude-pluginsType it inside Claude Code.
Install on GitHub Copilot CLI
1.Add the marketplace
copilot plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
copilot plugin install restic-dev@agents-store-claude-plugins
GitHub Copilot CLI does not receive: commands, agents.
Install on Cursor
1.Manual install
Cursor has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Cursor reads plugins from.
Cursor’s plugin documentation now lives at docs.grok.com (cursor.com/docs/plugins redirects there). Plugins come from its marketplace, a team marketplace or a local folder.
Install on Codex
1.Add the marketplace
codex plugin marketplace add Agents-Store/codex-plugins2.Install the plugin
codex plugin add restic-dev@agents-store-codex-plugins
Codex does not receive: commands, agents.
Install on Gemini CLI
1.Clone the mirror
git clone https://github.com/Agents-Store/gemini-extensions2.Install the plugin
gemini extensions link ./gemini-extensions/restic-devRun it from the folder you cloned into.
Consumer access to Gemini CLI ended on 2026-06-18. This target serves enterprise Gemini Code Assist; Antigravity is the consumer successor.
Install on Antigravity
1.Clone the mirror
git clone https://github.com/Agents-Store/antigravity-skills2.Install the plugin
agy plugin install ./antigravity-skills/restic-devRun it from the folder you cloned into.
Antigravity does not receive: commands.
Install on Kimi Code
1.Clone the mirror
git clone https://github.com/Agents-Store/kimi-plugins2.Install the plugin
/plugins install ./kimi-plugins/restic-devRun it from the folder you cloned into, and type it inside Kimi Code.
Kimi Code does not receive: commands, agents, hooks, MCP servers.
Install on Devin
1.Install the plugin
devin plugins install Agents-Store/devin-plugins#restic-dev
Devin does not receive: commands, agents, hooks, MCP servers.
Install on Hermes Agent
1.Install the plugin
hermes plugins install Agents-Store/hermes-plugins/restic-dev
Hermes Agent does not receive: commands, agents, hooks, MCP servers.
Install on OpenCode
1.Manual install
OpenCode has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place OpenCode reads plugins from.
OpenCode does not receive: hooks.
Install on Pi
1.Manual install
Pi has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Pi reads plugins from.
Pi does not receive: commands, agents, hooks, MCP servers.
Install on OpenClaw
1.Clone the mirror
git clone https://github.com/Agents-Store/openclaw-generated-plugins2.Install the plugin
openclaw plugins install ./openclaw-generated-plugins/restic-devRun it from the folder you cloned into.
OpenClaw does not receive: commands, agents, hooks, MCP servers.
Install on Agent Plugins 1.0
1.Manual install
Agent Plugins 1.0 has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Agent Plugins 1.0 reads plugins from.
Agent Plugins 1.0 does not receive: commands, agents, hooks.
What is inside
Skills (11)
- backup-script
This skill should be used when the user asks to "write the restic backup script", "add database dumps to my backup", "set restic retention/forget policy", "create excludes for restic", or needs the daily script that dumps databases, backs up the discovered paths, tolerates exit code 3, and prunes old snapshots.
- cli-reference
This skill should be used when the user asks for the "restic command reference", "all restic commands", "restic flags", "restic environment variables", "restic exit codes", or needs the full command/flag/env-var reference for restic.
- disaster-recovery
This skill should be used when the user asks to "restore from a restic backup", "recover Docker data or a database from restic", "rebuild my server from backups", "do a full or partial restic restore", "my server died how do I get my data back", or needs to restore files, replay database dumps, and stand services back up.
- discover-backup-sources
This skill should be used when the user asks to "figure out what to back up", "find all my Docker volumes", "discover backup sources", "what should I be backing up on this server", "scan my Docker projects for backup", or points at a projects folder and wants the plugin to inspect every container's mounts and databases and build a concrete backup plan.
- examples
This skill should be used when the user asks for a "restic backup example", "end-to-end restic R2 walkthrough", "Docker server backup tutorial", "restic disaster recovery example", "how would this work on my server", or wants a complete scenario walkthrough.
- monitoring
This skill should be used when the user asks to "monitor restic backups", "get alerted when a backup fails", "set up a healthcheck or dead-man's-switch for backups", "detect stale restic snapshots", "alert me if backups stop", or needs ongoing backup health monitoring.
- repository-setup
This skill should be used when the user asks to "set up a restic repository on Cloudflare R2", "configure restic with S3 credentials", "create the restic encryption password", "initialize a restic repo", "fix restic AccessDenied on R2", or needs to wire up the password, R2/S3 env file, repository URL, and run restic init.
- scheduling
This skill should be used when the user asks to "schedule daily restic backups", "create a systemd timer for restic", "set up a cron job for backups", "run my backup at a specific time/timezone", or needs a timezone-aware schedule (systemd timer, or cron fallback on non-systemd hosts).
- setup
This skill should be used when the user asks to "set up restic backups on a server", "install restic", "prepare a Linux server for backups", "check what arch/init system my server uses", or needs to recon a server (architecture, OS, init system, timezone, free disk) and install the correct latest restic binary before configuring backups.
- troubleshoot
This skill should be used when the user hits "restic errors", "restic backup fails in cron", "restic repository is locked", "restic AccessDenied on R2", "restic wrong password", "restic SignatureDoesNotMatch", or needs to diagnose restic exit codes, S3/R2 errors, locks, repo/index/cache problems, and cron/systemd-only failures.
- verify-backup
This skill should be used when the user asks to "verify my restic backup works", "test a restic restore", "check restic snapshots and integrity", "validate backups before enabling the schedule", or needs to run the first backup, confirm snapshots, run restic check, test-restore, then enable the timer.
Commands (3)
- backup-now
Run an ad-hoc restic backup now and show the resulting snapshot
- restore
Guided restore / disaster recovery from a restic repository
- status
Show restic backup health — timer state, latest snapshot, freshness, recent log
Agents (1)
- restic-backup-engineer
Use this agent when the user needs to set up, operate, or recover encrypted restic backups on a Linux server — reconning the host, auto-discovering Docker volumes and databases to back up, configuring a Cloudflare R2 / S3 repository, writing and scheduling a verified daily backup, monitoring it, or restoring after a disaster. <example> Context: Fresh Linux box with Docker projects and R2 credentials; wants offsite daily backups. user: "I've got a bunch of Docker projects in /docker and Cloudflare R2 credentials. Set up automated daily backups." assistant: "I'll use the restic-backup-engineer agent to recon the server, discover all Docker volumes and databases, configure the R2 repository, and schedule verified daily backups." <commentary>End-to-end provisioning: recon → discover → repo → script → schedule → verify. The agent's core flow.</commentary> </example> <example> Context: User is unsure where their data actually lives. user: "I think my data is in /docker but I'm not 100% sure where everything is. What should I be backing up?" assistant: "I'll use the restic-backup-engineer agent to auto-discover every container's mounts and databases — including data outside /docker — and produce a concrete backup plan for your review." <commentary>discover-backup-sources: mapping containers→working_dir→mounts→DBs even outside the named folder, then confirming before writing anything.</commentary> </example> <example> Context: A server died; user must restore onto a new box. user: "My server is gone. I have the restic password and R2 keys. How do I get my Postgres data and Docker volumes back on a new server?" assistant: "I'll use the restic-backup-engineer agent to rebuild on the new server — install restic, reconnect the R2 repo, restore volumes, and replay the database dumps." <commentary>disaster-recovery / rebuild: restore files + DB-dump replay on fresh infrastructure.</commentary> </example>
README
Set up encrypted, scheduled restic backups on any Linux server to S3-compatible object storage (Cloudflare R2 first-class) — a Technology (dev) plugin for the Agents Store marketplace. Knowledge-only: no MCP server, no stored credentials. Everything runs through the restic binary on the target server; R2 keys and the encryption password are created at runtime on that server (/root/.restic/, mode 600) and never touch the plugin or git.
What it covers
You give the plugin your S3/R2 access and the folder where your Docker projects live. It recons the server, auto-discovers what to back up — every container's bind-mounts and named volumes (including data living outside the named folder), separating regenerable junk and databases (which get logical dumps, not file copies) — then wires up an encrypted R2 repository, a partial-failure-tolerant daily backup script, a timezone-aware schedule, verification with a real test-restore, ongoing monitoring, and disaster recovery.
Skills
| Skill | Use it for |
|---|---|
setup | Server recon (arch/init/timezone/disk/docker) and install the correct latest restic binary |
discover-backup-sources | ⭐ Auto-discover every Docker volume/mount + databases and produce a concrete backup plan |
repository-setup | Encryption password, R2/S3 credentials, repository URL, restic init (and R2 AccessDenied fixes) |
backup-script | The daily script: logical DB dumps, exit-code-3 tolerance, forget/prune retention, excludes |
scheduling | Timezone-aware systemd timer (or cron fallback on non-systemd hosts) |
verify-backup | First run, snapshots, check, test-restore + diff — the gate before enabling the schedule |
monitoring | Dead-man's-switch, failure alerts, snapshot-freshness checks, periodic integrity check |
disaster-recovery | Restore files/volumes/databases and rebuild on a fresh server |
troubleshoot | Exit codes, R2/S3 errors, stale locks, repo/index repair, cron-only failures |
cli-reference | Full command / flag / environment-variable reference (manual-load only) |
examples | End-to-end scenario walkthroughs (Docker server → R2, cron host, disaster recovery, multi-DB) |
Agent
restic-backup-engineer — a restic backup specialist that recons a server, discovers what to back up, configures the R2 repository, writes and schedules a verified daily backup, monitors it, and drives disaster recovery. Confirms before any destructive operation and never enables a schedule until a test-restore passes.
Commands
| Command | Does |
|---|---|
/restic-dev:status | Are backups healthy? Timer state, latest snapshot, freshness, log tail |
/restic-dev:restore | Guided restore / disaster recovery |
/restic-dev:backup-now | Run an ad-hoc backup now and show the resulting snapshot |
Prerequisites
- A Linux server you can run commands on (SSH or local), with
dockerif you want volume auto-discovery - S3-compatible object storage. For Cloudflare R2: a bucket and an R2 API token with Object Read & Write, plus the account endpoint
https://<account_id>.r2.cloudflarestorage.com resticis installed by thesetupskill if missing — no manual install required
No plugin configuration is required. The encryption password and storage credentials are generated and stored on the target server — keep an off-server copy of the password, or restore is impossible.
Quick start
# Inside Claude Code, on (or connected to) the target server:
/restic-dev:status # if already set up — health at a glance
# or just ask the restic-backup-engineer agent:
# "I have Docker projects in /docker and Cloudflare R2 keys. Set up daily backups."
Notes
- restic always encrypts client-side (AES-256) — the password is the only key. Losing it means total, unrecoverable data loss.
- Built from the official docs at https://restic.readthedocs.io/ and Cloudflare R2's S3 API docs.
Made by AGENTS.STORE.
Source
- Source on GitHub
- Mirror: Agents-Store/claude-plugins
- Mirror: Agents-Store/cursor-plugins
- Mirror: Agents-Store/codex-plugins
- Mirror: Agents-Store/gemini-extensions
- Mirror: Agents-Store/antigravity-skills
- Mirror: Agents-Store/kimi-plugins
- Mirror: Agents-Store/devin-plugins
- Mirror: Agents-Store/hermes-plugins
- Mirror: Agents-Store/opencode-plugins
- Mirror: Agents-Store/pi-extensions
- Mirror: Agents-Store/openclaw-generated-plugins
- Mirror: Agents-Store/agentplugins