{"repo":"borgmatic-collective/docker-borgmatic","free":true,"listed":false,"github":"https://github.com/borgmatic-collective/docker-borgmatic","clone":"git clone https://github.com/borgmatic-collective/docker-borgmatic.git","description":"Borgmatic in Docker","language":"Shell","stars":540,"topics":["docker","docker-image"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"Borgmatic Container Running on S6 Overlay. Supports linux/amd64 and linux/arm64 . Includes Borg, Borgmatic, Apprise, and optional Docker CLI for container stop/start hooks. --- Tags Tag Description :---: --- latest Latest Borgmatic + Borg 2.x.x-1.x.x Specific Borgmatic–Borg version pair --- Quick start Copy .env.template to .env , fill in your values, then: --- First run Initialise your Borg repository: Run a manual backup to verify everything works: Generate a full example config: Archive naming gotcha: By default borgmatic uses {hostname} in archive names. Docker container hostnames change on every rebuild, which breaks pruning and compaction. Set an explicit archive name in your config: --- Configuration Example files The image ships example configs in /etc/borgmatic.d/ that you can use as a starting point. When you mount your own config directory, place your config there: File Purpose --- --- config.yaml Minimal working config for a local repository config.yaml.example Remote repository with SSH and passcommand config.full.yaml.example Annotated reference covering all common options before-backup.example Hook script template run before each backup after-backup.example Hook script template run after each successful backup failed-backup.example Hook script template run on error To use the hook scripts, make them executable and reference them in your config: Environment variable expansion Borgmatic expands ${VAR} references inside config files at runtime, which is useful for","default_branch":null,"files":null,"tree":[],"storefront":"/r/borgmatic-collective","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/borgmatic-collective/docker-borgmatic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}