pkg.sopackage field notes

brew / rank 2769

Install borgmatic with Homebrew

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

provider-native install command

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 bottle metadata was recorded.

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
borgmaticexecutableindexed executableDiscovered from the local executable index.
generate-borgmatic-configexecutableindexed executableDiscovered from the local executable index.
validate-borgmatic-configexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version2.1.6
manager updated2026-06-02
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:borgmatic
Version2.1.6
Package managerHomebrew
Homepagehttps://torsion.org/borgmatic/
Last updated2026-06-02T23:51:48Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation