Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 barman

查看 barman 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install barman

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install barman

MacPorts ports tree · databases/barman/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add barman

Alpine Linux edge package indexes · barman · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install barman

Debian stable package indexes · barman · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install barman

Fedora Rawhide package metadata · barman · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#barman

nixpkgs package indexes · pkgs/by-name/ba/barman/package.nix · 来源: api.github.com

概览

软件包摘要

Backup and Recovery Manager for PostgreSQL

命令和别名

  • barman
  • barman-cloud-backup
  • barman-cloud-backup-delete
  • barman-cloud-backup-keep
  • barman-cloud-backup-list
  • barman-cloud-backup-show
  • barman-cloud-check-wal-archive
  • barman-cloud-restore
  • barman-cloud-wal-archive
  • barman-cloud-wal-restore
  • barman-wal-archive
  • barman-wal-restore

历史

项目历史与用法

Barman is EnterpriseDB's open-source Backup and Recovery Manager for PostgreSQL, a Python administration tool for physical backups, WAL archiving, point-in-time recovery, and cloud backup workflows.

项目历史

The upstream README identifies Barman as a disaster-recovery tool for PostgreSQL servers, maintained by EnterpriseDB under GPL-3.0-or-later. It also records that the GitHub repository became the new home starting with version 2.13, replacing the legacy SourceForge repository.

Barman's documentation presents it as a tool for managing backups of multiple PostgreSQL servers in business-critical environments. Over time it has added streaming backup modes, WAL archiving helpers, cloud commands, snapshot support, export/import workflows, and restore features.

采用历史

Barman is adopted by PostgreSQL operators who need backup catalogs, retention policies, WAL management, and recoverable physical backups outside the database server itself. Its presence in Linux distributions, Homebrew, MacPorts, Nix, PyPI-linked docs, and EnterpriseDB documentation reflects use by both community and commercial PostgreSQL users.

使用方式

A typical Barman setup defines global and per-server configuration in barman.conf or barman.d snippets, grants PostgreSQL access using credentials such as .pgpass, archives WAL files with barman-wal-archive or streaming, and restores backups through barman restore or cloud restore commands.

为什么软件包爱好者会关心

Barman is package-nerd significant because it bridges PostgreSQL internals and system packaging: executable families for local and cloud backup, configuration directories, Python dependencies, PostgreSQL client tooling, and credential conventions all have to line up for reliable recovery.

时间线

  • 2011: EnterpriseDB copyright history begins for Barman.
  • Version 2.13: GitHub becomes the new upstream home, replacing the legacy SourceForge repository.
  • 2024: Barman 3.12.0 continues the 3.x line with documented configuration and recovery workflows.
  • 2026: Barman 3.19 adds and fixes cloud backup restore, cloud WAL restore, export/import, and parallel WAL-related behavior.

Related projects

  • Barman works with PostgreSQL server tools and concepts such as pg_basebackup, pg_receivewal, WAL archiving, archive_command, restore_command, rsync, SSH, object storage, and .pgpass credentials.

安全态势

尚未找到受保护工具覆盖

没有找到 barman 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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/barman.conf~/.barman.conf/etc/barman.d/*.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pgpass

可执行文件

已安装的可执行文件

命令类型暴露范围备注
barmancli全局可执行文件
barman-cloud-backupcli全局可执行文件
barman-cloud-backup-deletecli全局可执行文件
barman-cloud-backup-keepcli全局可执行文件
barman-cloud-backup-listcli全局可执行文件
barman-cloud-backup-showcli全局可执行文件
barman-cloud-check-wal-archivecli全局可执行文件
barman-cloud-restorecli全局可执行文件
barman-cloud-wal-archivecli全局可执行文件
barman-cloud-wal-restorecli全局可执行文件
barman-wal-archivecli全局可执行文件
barman-wal-restorecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本3.19.1
管理器更新时间2026-05-27
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/EnterpriseDB/barman

安装元数据

软件包元数据

软件包键brew:barman
版本3.19.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/barman
主页https://www.pgbarman.org/
仓库https://github.com/EnterpriseDB/barman
上游文档https://docs.pgbarman.org/release/3.12.0/user_guide/configuration.html
许可证GPL-3.0-or-later
源码归档https://github.com/EnterpriseDB/barman/releases/download/release%2F3.19.1/barman-3.19.1.tar.gz
最后更新2026-05-27T15:28:03Z
Pulseupdated
依赖libpq, openssl@3, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

barman 3.13.3-1

Backup and Recovery Manager for PostgreSQL

https://www.pgbarman.org

sudo apt install barman
  • Section: database
  • Architecture: all
  • 5 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Barman
Debian stable package indexes · deb.debian.org · Debian stable package indexes: barman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

barman-cli 3.13.3-1

Client utilities for the integration of Barman in PostgreSQL clusters

https://www.pgbarman.org

sudo apt install barman-cli
  • Section: database
  • Architecture: all
  • Source Package: barman
  • 4 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Barman
Debian stable package indexes · deb.debian.org · Debian stable package indexes: barman-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

barman-cli-cloud 3.13.3-1

Cloud client utilities for the integration of Barman in PostgreSQL clusters

https://www.pgbarman.org

sudo apt install barman-cli-cloud
  • Section: database
  • Architecture: all
  • Source Package: barman
  • 5 依赖
  • normalized package name match
  • 匹配方式:Barman
Debian stable package indexes · deb.debian.org · Debian stable package indexes: barman-cli-cloud from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-barman 3.13.3-1

Backup and Recovery Manager for PostgreSQL - Python modules

https://www.pgbarman.org

sudo apt install python3-barman
  • Section: python
  • Architecture: all
  • Source Package: barman
  • 4 依赖
  • normalized package name match
  • 匹配方式:Barman
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-barman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

barman

nix profile install nixpkgs#barman
  • normalized package name match
  • 匹配方式:Barman
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/barman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

barman 3.10.0-1

Backup and Recovery Manager for PostgreSQL

https://www.pgbarman.org

sudo apt install barman
  • Section: universe/database
  • Architecture: all
  • 5 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Barman
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: barman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

barman-cli 3.10.0-1

Client utilities for the integration of Barman in PostgreSQL clusters

https://www.pgbarman.org

sudo apt install barman-cli
  • Section: universe/database
  • Architecture: all
  • Source Package: barman
  • 4 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Barman
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: barman-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

barman-cli-cloud 3.10.0-1

Cloud client utilities for the integration of Barman in PostgreSQL clusters

https://www.pgbarman.org

sudo apt install barman-cli-cloud
  • Section: universe/database
  • Architecture: all
  • Source Package: barman
  • 5 依赖
  • normalized package name match
  • 匹配方式:Barman
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: barman-cli-cloud from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-barman 3.10.0-1

Backup and Recovery Manager for PostgreSQL - Python modules

https://www.pgbarman.org

sudo apt install python3-barman
  • Section: universe/python
  • Architecture: all
  • Source Package: barman
  • 4 依赖
  • normalized package name match
  • 匹配方式:Barman
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-barman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

barman 3.19.0-r0

Backup and recovery manager for PostgreSQL

https://pgbarman.org

sudo apk add barman
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: barman
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Barman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: barman from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

barman-bash-completion 3.19.0-r0

Bash completions for barman

https://pgbarman.org

sudo apk add barman-bash-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: barman
  • normalized package name match
  • 匹配方式:Barman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: barman-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

barman-doc 3.19.0-r0

Backup and recovery manager for PostgreSQL (documentation)

https://pgbarman.org

sudo apk add barman-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: barman
  • normalized package name match
  • 匹配方式:Barman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: barman-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

barman-pyc 3.19.0-r0

Precompiled Python bytecode for barman

https://pgbarman.org

sudo apk add barman-pyc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: barman
  • 1 依赖
  • normalized package name match
  • 匹配方式:Barman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: barman-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

barman 3.18.0-2.fc45

Backup and Recovery Manager for PostgreSQL

http://www.pgbarman.org/

sudo dnf install barman
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: barman
  • 6 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Barman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: barman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

barman-cli 3.18.0-2.fc45

Client Utilities for Barman

http://www.pgbarman.org/

sudo dnf install barman-cli
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: barman
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Barman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: barman-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-barman 3.18.0-2.fc45

Shared libraries for Barman

http://www.pgbarman.org/

sudo dnf install python3-barman
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: barman
  • 2 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Barman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-barman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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