pkg.soopen package index

brew / rank 4928

Install pgbackrest with Homebrew, apk, apt, Nix, pacman, zypper

Reliable PostgreSQL Backup & Restore. Version 2.60.0 via Homebrew; verified 2026-10-18. Also installable with debian: sudo apt install pgbackrest.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pgbackrest

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add pgbackrest

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

Debian aptverified · 92%
sudo apt install pgbackrest

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

Nixverified · 92%
nix profile install nixpkgs#pgbackrest

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

Arch Linux pacmanverified · 92%
sudo pacman -S pgbackrest

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

openSUSE zypperverified · 92%
sudo zypper install pgbackrest

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

overview

Package summary

Reliable PostgreSQL Backup & Restore

Commands and aliases

  • pgbackrest

history

Project history and usage

pgBackRest is a PostgreSQL backup, restore, and WAL-archiving system supporting full, differential, incremental, and block-incremental backups, retention policies, repository verification, parallel operation, and point-in-time recovery.

Project history

pgBackRest began as a PostgreSQL-specific backup and WAL-archive utility. Its early releases developed the core backup, restore, archive-push, and archive-get workflow before the stable 1.00 release established a new repository format and configuration scheme.

The 2.x line began a migration from Perl to C for performance-sensitive operations. The migration was completed in version 2.21, while the project retained compatibility with version 1 repositories and options.

Adoption history

pgBackRest is packaged across major Unix-oriented ecosystems, as recorded in source_facts.package-manager, and has become a common component in self-managed PostgreSQL backup deployments. Its support for local, remote, and object-storage repositories makes it suitable for installations ranging from one server to dedicated backup infrastructure.

How it is used

Administrators define PostgreSQL clusters as stanzas, configure a backup repository, enable PostgreSQL archive_command integration, run stanza-create and check, schedule backup and retention operations, and use restore for disaster recovery or point-in-time recovery.

Why package nerds care

pgBackRest is notable for turning PostgreSQL physical backup, WAL archiving, retention, verification, and point-in-time recovery into one purpose-built package. Its repository formats, stanza-based configuration, resumable operations, parallel processing, and explicit upgrade compatibility make it especially relevant to operators who care about reproducible disaster recovery.

Timeline

  • 2014: Early public releases established functional backup and archiving commands.
  • 2016: Version 1.00 introduced the stable repository and configuration scheme.
  • 2018: Version 2.00 began the performance-oriented C implementation era.
  • 2020: Version 2.21 completed the migration to C.

Related projects

  • pgBackRest works directly with PostgreSQL clusters and WAL archiving. Barman occupies the same broad PostgreSQL backup and disaster-recovery space but emphasizes management from a dedicated backup server.

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,sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 4 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
/etc/pgbackrest/pgbackrest.conf/etc/pgbackrest.conf

executables

Installed executables

CommandKindExposureNote
pgbackrestcliglobal 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-11-04
manager version2.60.0
manager updated2026-10-18
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/pgbackrest/pgbackrest

install metadata

Package metadata

Package keybrew:pgbackrest
Version2.60.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pgbackrest
Homepagehttps://pgbackrest.org
Repositoryhttps://github.com/pgbackrest/pgbackrest
Upstream docshttps://pgbackrest.org
LicenseMIT
Source archivehttps://github.com/pgbackrest/pgbackrest/releases/download/release/2.60.0/pgbackrest-2.60.0.tar.gz
Last updated2026-10-18T11:54:44Z
Pulseupdated
Dependencieslibpq, libssh2, lz4, openssl@4, zstd
Build dependenciescmake, meson, ninja, pkgconf
Uses from macOSbzip2, libxml2
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepgbackrest
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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%

pgbackrest 2.55.1-1

Reliable PostgreSQL Backup & Restore

https://www.pgbackrest.org/

sudo apt install pgbackrest
  • Section: database
  • Architecture: amd64
  • 11 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Pgbackrest
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pgbackrest from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pgbackrest-doc 2.55.1-1

Documentation package for pgbackrest

https://www.pgbackrest.org/

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

pgbackrest

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

pgbackrest 2.50-1build2

Reliable PostgreSQL Backup & Restore

https://www.pgbackrest.org/

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

pgbackrest-doc 2.50-1build2

Documentation package for pgbackrest

https://www.pgbackrest.org/

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

pgbackrest 2.59.1-r0

Reliable PostgreSQL backup & restore

https://www.pgbackrest.org/

sudo apk add pgbackrest
  • License: MIT
  • Architecture: x86_64
  • Source Package: pgbackrest
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pgbackrest
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pgbackrest from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

pgbackrest 2.59.1-1

Reliable PostgreSQL backup and restore

https://github.com/pgbackrest/pgbackrest

sudo pacman -S pgbackrest
  • License: MIT
  • Architecture: x86_64
  • 10 dependencies
  • normalized package name match
  • Matched by: Pgbackrest
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pgbackrest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

pgbackrest 2.59.1-1.1

Reliable PostgreSQL Backup & Restore

https://www.pgbackrest.org

sudo zypper install pgbackrest
  • License: MIT
  • Category: Productivity/Databases/Tools
  • Architecture: x86_64
  • Source Package: pgbackrest
  • 16 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Pgbackrest
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: pgbackrest from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-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
  • 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
  • pkg.so package database
  • pkgdb category and tag curation