# Run policy-driven Borg backups, checks, and restores from one config with borgmatic

> Use borgmatic to drive Borg backup, prune, check, and restore routines from a single declarative config so an agent can supervise backup runbooks instead of stitching raw commands by hand.

- Skill: `agentskillexchange/run-policy-driven-borg-backups-checks-and-restores-from-one-` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/run-policy-driven-borg-backups-checks-and-restores-from-one-`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/run-policy-driven-borg-backups-checks-and-restores-from-one-/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/run-policy-driven-borg-backups-checks-and-restores-from-one-

---


# Run policy-driven Borg backups, checks, and restores from one config with borgmatic

Use borgmatic to drive Borg backup, prune, check, and restore routines from a single declarative config so an agent can supervise backup runbooks instead of stitching raw commands by hand.

## Prerequisites

borgmatic, Borg Backup

## Installation

Requirements and caveats from upstream:
- <a href="https://www.docker.com/"><img src="https://torsion.org/borgmatic/static/docker.png" alt="Docker" height="40px" style="margin-bottom:20px; margin-right:20px;"></a>

Basic usage or getting-started notes:
- Here's an example configuration file:
- # List of checks to run to validate your backups.
- # Custom preparation scripts to run.

- Source: https://github.com/borgmatic-collective/borgmatic
- Extracted from upstream docs: https://raw.githubusercontent.com/borgmatic-collective/borgmatic/HEAD/README.md

## Documentation

- https://torsion.org/borgmatic/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-policy-driven-borg-backups-checks-and-restores-from-one-config-with-borgmatic/)

