Automic VaultAutomic Vault

brew

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

Deduplicating archiver with compression and authenticated encryption. Version 1.4.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install borgbackup

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install borgbackup

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

Linux

Alpine Linux apkverified · 92%
sudo apk add borgbackup

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

Debian aptverified · 92%
sudo apt install borgbackup

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

Fedora dnfverified · 92%
sudo dnf install borgbackup

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

Nixverified · 92%
nix profile install nixpkgs#borgbackup

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

Arch Linux pacmanverified · 92%
sudo pacman -S borg

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

openSUSE zypperverified · 92%
sudo zypper install borgbackup

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

overview

Package summary

Deduplicating archiver with compression and authenticated encryption

Commands and aliases

  • borg
  • borgfs

history

Project history and usage

BorgBackup is a deduplicating backup program with optional compression and authenticated encryption. It is one of the most important Unix-style backup CLIs in modern package repositories because it combines content-defined chunking, encrypted remote repositories over SSH, and scriptable command-line operation.

Project history

Borg began publicly as a fork of Attic. The project's first GitHub issue, opened May 13, 2015, states that the fork was made to allow different approaches to development, goals, and policy, with emphasis on openness, accepting good pull requests, discussing changes publicly, and avoiding accidental compatibility breaks.

The official documentation describes Borg's core design: split files into variable-length chunks, store only chunks not already present in the repository, optionally compress data, and protect data with client-side authenticated encryption. Borg's SSH-friendly repository model made it practical for daily off-site backups to hosts that were not fully trusted.

Borg reached 1.0.0 on March 5, 2016. The current stable documentation is for Borg 1.4.4, while the master README warns that Borg 2 is in beta and should not be used for production backups, showing an active but compatibility-conscious split between stable backup users and future repository-format work.

Adoption history

Borg's adoption grew among Linux, macOS, and BSD users who wanted a command-line alternative to rsync-style mirror backups and tarball rotation. The package-manager data in the input shows broad distribution coverage across Alpine, Homebrew, Debian, DNF, MacPorts, Nix, Arch, Ubuntu, and openSUSE, matching its role as infrastructure software rather than an application-specific tool.

The docs also call out JSON output for frontends, which helped a small ecosystem of wrappers and graphical tools build on the CLI instead of a Python API. That front-end contract matters because backup tools need automation, monitoring, and restore UX without weakening the reliability of the core command.

How it is used

Typical use starts by creating a repository with encryption, then running `borg create` repeatedly so only new chunks are stored. Users commonly set `BORG_REPO`, back up to a local path or SSH remote, prune old archives, mount archives as file systems for browsing, and use JSON/log output in automation.

Borg's key workflows are daily encrypted off-site backups, space-efficient backups of large changing files such as VM images, multi-machine repositories where chunk deduplication crosses archive boundaries, and disaster-recovery restores from append-only or otherwise protected storage.

Why package nerds care

BorgBackup is package-nerd significant because it is a backup tool where packaging quality directly affects data safety: users care about reproducible binaries, FUSE support for mounting archives, Python/Cython extension compatibility, OpenSSL or crypto backend behavior, and careful upgrade notes. Its package name also preserves the full project name while the CLI is simply `borg`.

It is also a canonical example of a serious CLI exposing machine-readable output for frontends while refusing to promise a stable internal Python API. That boundary is exactly the kind of packaging and integration decision that distribution maintainers and backup-tool operators notice.

Timeline

  • 2015: Borg fork goals issue opened, documenting the fork from Attic and project policy goals.
  • 2015: 0.26.x through 0.29.x release series published before 1.0.
  • 2016: Borg 1.0.0 published.
  • 2025: Borg 2.0 beta releases continue for testing only.
  • 2026: Borg 1.4.4 stable release published.

Related projects

  • Related projects include Attic, the project Borg forked from, plus command-line backup tools such as restic, duplicity, rsync-based backup systems, and Borg frontends that consume the documented CLI JSON output.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:backup,archive,compress,encrypt

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 1 build 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
<repository>/config~/.cache/borg/<repository-id>/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
~/.config/borg/keys/
macOS
~/Library/Application Support/borg/keys/
Windows
C:\Users\<user>\AppData\Roaming\borg\keys\

executables

Installed executables

CommandKindExposureNote
borgcliglobal executable
borgfscliglobal 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 version1.4.4
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.borgbackup.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.borgbackup.org/none confidence

install metadata

Package metadata

Package keybrew:borgbackup
Version1.4.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/borgbackup
Homepagehttps://www.borgbackup.org/
Repositoryhttps://github.com/borgbackup/borg
Upstream docshttps://borgbackup.readthedocs.io/en/stable
LicenseBSD-3-Clause
Source archivehttps://files.pythonhosted.org/packages/eb/38/7fc8c8c7d9dba455f0e29f2ab5b77109313f4e58fe5014d0e1b7855de3cd/borgbackup-1.4.4.tar.gz
Dependencieslibb2, lz4, openssl@3, python@3.14, xxhash, zstd
Build dependenciespkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameborgbackup
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%

borgbackup 1.4.0-5

deduplicating and compressing backup program

https://borgbackup.github.io/borgbackup/

sudo apt install borgbackup
  • Section: admin
  • Architecture: amd64
  • 9 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Borgbackup
Debian stable package indexes · deb.debian.org · Debian stable package indexes: borgbackup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

borgbackup-doc 1.4.0-5

deduplicating and compressing backup program (documentation)

https://borgbackup.github.io/borgbackup/

sudo apt install borgbackup-doc
  • Section: doc
  • Architecture: all
  • Source Package: borgbackup
  • 4 dependencies
  • normalized package name match
  • Matched by: Borgbackup
Debian stable package indexes · deb.debian.org · Debian stable package indexes: borgbackup-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

borgbackup

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

borgbackup 1.2.8-1

deduplicating and compressing backup program

https://borgbackup.github.io/borgbackup/

sudo apt install borgbackup
  • Section: universe/admin
  • Architecture: amd64
  • 10 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Borgbackup
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: borgbackup from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

borgbackup-doc 1.2.8-1

deduplicating and compressing backup program (documentation)

https://borgbackup.github.io/borgbackup/

sudo apt install borgbackup-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: borgbackup
  • 4 dependencies
  • normalized package name match
  • Matched by: Borgbackup
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: borgbackup-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

borgbackup 1.4.4-r1

Deduplicating backup program

https://www.borgbackup.org/

sudo apk add borgbackup
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgbackup-bash-completion 1.4.4-r1

Bash completions for borgbackup

https://www.borgbackup.org/

sudo apk add borgbackup-bash-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgbackup-doc 1.4.4-r1

Deduplicating backup program (documentation)

https://www.borgbackup.org/

sudo apk add borgbackup-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgbackup-fish-completion 1.4.4-r1

Fish completions for borgbackup

https://www.borgbackup.org/

sudo apk add borgbackup-fish-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgbackup-fuse 1.4.4-r1

Deduplicating backup program (FUSE support)

https://www.borgbackup.org/

sudo apk add borgbackup-fuse
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • 1 dependencies
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup-fuse from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgbackup-pyc 1.4.4-r1

Precompiled Python bytecode for borgbackup

https://www.borgbackup.org/

sudo apk add borgbackup-pyc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • 1 dependencies
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

borgbackup-zsh-completion 1.4.4-r1

Zsh completions for borgbackup

https://www.borgbackup.org/

sudo apk add borgbackup-zsh-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: borgbackup
  • normalized package name match
  • Matched by: Borgbackup
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: borgbackup-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

borgbackup 1.4.4-2.fc45

A deduplicating backup program with compression and authenticated encryption

https://borgbackup.readthedocs.org

sudo dnf install borgbackup
  • License: BSD-3-clause AND zlib AND Apache-2.0 AND PSF-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: borgbackup
  • 12 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Borgbackup
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: borgbackup from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

borg 1.4.4-1

Deduplicating backup program with compression and authenticated encryption

https://borgbackup.github.io/

sudo pacman -S borg
  • License: BSD
  • Architecture: x86_64
  • 9 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Borgbackup
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: borg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

borgbackup 1.4.1-6.3

Deduplicating backup program with compression and authenticated encryption

https://github.com/borgbackup/borg

sudo zypper install borgbackup
  • License: BSD-3-Clause
  • Category: Productivity/Archiving/Backup
  • Architecture: x86_64
  • Source Package: borgbackup
  • 10 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Borgbackup
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: borgbackup from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

borgbackup-bash-completion 1.4.1-6.3

Bash Completion for borgbackup

https://github.com/borgbackup/borg

sudo zypper install borgbackup-bash-completion
  • License: BSD-3-Clause
  • Category: Productivity/Archiving/Backup
  • Architecture: noarch
  • Source Package: borgbackup
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Borgbackup
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: borgbackup-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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