Automic VaultAutomic Vault

brew

Install borgmatic with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Simple wrapper script for the Borg backup software. Version 2.1.6 via Homebrew; verified 2026-06-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install borgmatic

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install borgmatic

MacPorts ports tree · sysutils/borgmatic/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add borgmatic

Alpine Linux edge package indexes · borgmatic · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install borgmatic

Debian stable package indexes · borgmatic · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install borgmatic

Fedora Rawhide package metadata · borgmatic · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#borgmatic

nixpkgs package indexes · pkgs/by-name/bo/borgmatic/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S borgmatic

Arch Linux sync databases · borgmatic · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install borgmatic

openSUSE Tumbleweed package metadata · borgmatic · source: download.opensuse.org

overview

Package summary

Simple wrapper script for the Borg backup software

Commands and aliases

  • borgmatic
  • generate-borgmatic-config
  • validate-borgmatic-config

history

Project history and usage

borgmatic is configuration-driven backup automation for BorgBackup, turning Borg's deduplicating encrypted archive model into repeatable YAML-based backup jobs for servers and workstations.

Project history

The project grew as a wrapper and automation layer around BorgBackup. Its own documentation now presents borgmatic as the canonical project at torsion.org and the source repository as the official development home.

borgmatic grew from a small wrapper script into a backup orchestrator with configuration validation, repository creation, pruning, checks, database dumps, hooks, monitoring integrations, and upgrade-aware command changes. The documentation's compatibility notes, such as the move from the older init action to repo-create, show an actively maintained tool tracking Borg's evolution.

Adoption history

borgmatic is packaged across mainstream Unix package managers, including Homebrew, Debian, Ubuntu, Fedora, Arch, openSUSE, Alpine, MacPorts, and Nix according to the batch input. Its presence in both Linux distribution repositories and macOS package managers reflects a practical role in personal server, workstation, and self-hosting backup setups.

The project also appears in the Borg hosting ecosystem: borgmatic's README and site point users toward providers that explicitly support Borg or borgmatic workflows, making it a familiar layer for off-site encrypted backups.

How it is used

Typical use starts with a YAML configuration listing source directories, repositories, retention, checks, hooks, and optional database backup settings. Operators run borgmatic manually, from cron, or from systemd timers to create and prune Borg archives without hand-writing long Borg command lines.

borgmatic relies on Borg being installed separately, then wraps Borg operations such as repository creation, archive creation, pruning, checks, extraction, and passphrase handling. Its docs describe both configuration-file passphrases and Borg environment variables such as BORG_PASSPHRASE and BORG_PASSCOMMAND.

Why package nerds care

For package maintainers, borgmatic is a useful example of a Python CLI that deliberately avoids bundling its core external engine, Borg, so distro packages must express the Borg relationship cleanly instead of hiding it inside the wrapper.

For CLI users, it sits in the sweet spot between raw Borg commands and a full backup appliance: declarative config, Unix-friendly scheduling, and enough hooks to integrate with monitoring without requiring a daemon.

Timeline

  • 2017: Official source repository metadata shows the borgmatic repository created on projects.torsion.org.
  • 2023: Official release metadata includes borgmatic 1.8.1, part of the mature 1.x series.
  • 2025: Documentation records the repo-create action replacing the older init action in borgmatic 1.9.0.
  • 2026: Project metadata and package-manager input show borgmatic maintained as a cross-distro backup CLI.

Related projects

  • BorgBackup is the underlying deduplicating, encrypted backup tool that borgmatic automates.
  • BorgBase is a related hosting provider named by the borgmatic site as supporting Borg and borgmatic workflows.
  • systemd, Docker, Podman, database engines, and monitoring services are adjacent integrations documented by borgmatic.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for borgmatic. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 3 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/borgmatic/config.yaml~/.config/borgmatic/config.yaml

executables

Installed executables

CommandKindExposureNote
borgmaticcliglobal executable
generate-borgmatic-configcliglobal executable
validate-borgmatic-configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.1.6
manager updated2026-06-02
local dataok
upstreamnot checked
latest detectednot detected

https://torsion.org/borgmatic/

install metadata

Package metadata

Package keybrew:borgmatic
Version2.1.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/borgmatic
Homepagehttps://torsion.org/borgmatic/
Repositoryhttps://projects.torsion.org/borgmatic-collective/borgmatic
Upstream docshttps://torsion.org/borgmatic
LicenseGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/00/20/4f28c29b14876bee6438d8dd698b80f9188cad066258b8068e3f40676a4e/borgmatic-2.1.6.tar.gz
Last updated2026-06-02T23:51:48Z
Pulseupdated
Dependenciescertifi, python@3.14, rpds-py
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameborgmatic
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

borgmatic 1.9.14-0.1

automatically create, prune and verify backups with borgbackup

https://torsion.org/borgmatic

sudo apt install borgmatic
  • Section: utils
  • Architecture: all
  • 6 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Borgmatic
Debian stable package indexes · deb.debian.org · Debian stable package indexes: borgmatic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

borgmatic

nix profile install nixpkgs#borgmatic
  • normalized package name match
  • Matched by: Borgmatic
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bo/borgmatic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

borgmatic 1.8.3-1

automatically create, prune and verify backups with borgbackup

https://torsion.org/borgmatic

sudo apt install borgmatic
  • Section: universe/utils
  • Architecture: all
  • 8 dependencies
  • normalized package name match
  • Matched by: Borgmatic
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: borgmatic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

borgmatic 2.1.4-r0

Simple, configuration-driven backup software for servers and workstations

https://torsion.org/borgmatic/

sudo apk add borgmatic
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: borgmatic
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Borgmatic
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgmatic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgmatic-bash-completion 2.1.4-r0

Bash completions for borgmatic

https://torsion.org/borgmatic/

sudo apk add borgmatic-bash-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: borgmatic
  • normalized package name match
  • Matched by: Borgmatic
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgmatic-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgmatic-pyc 2.1.4-r0

Precompiled Python bytecode for borgmatic

https://torsion.org/borgmatic/

sudo apk add borgmatic-pyc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: borgmatic
  • 1 dependencies
  • normalized package name match
  • Matched by: Borgmatic
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgmatic-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

borgmatic 2.1.6-2.fc45

Simple Python wrapper script for borgbackup

https://torsion.org/borgmatic

sudo dnf install borgmatic
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: borgmatic
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Borgmatic
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: borgmatic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

borgmatic 2.1.5-1

Simple, configuration-driven backup software for servers and workstations

https://torsion.org/borgmatic

sudo pacman -S borgmatic
  • License: GPL-3.0-or-later
  • Architecture: any
  • 6 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Borgmatic
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: borgmatic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

borgmatic 1.9.5-2.4

Automation tool for borgbackup

https://torsion.org/borgmatic

sudo zypper install borgmatic
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: borgmatic
  • 8 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Borgmatic
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: borgmatic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

borgmatic

sudo port install borgmatic
  • normalized package name match
  • Matched by: Borgmatic
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/borgmatic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment