# barman を Homebrew, apk, apt, dnf, MacPorts, Nix でインストール

barman のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:barman
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install barman
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install barman
```

  証拠: MacPorts ports tree: databases/barman/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add barman
```

  証拠: Alpine Linux edge package indexes: barman from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install barman
```

  証拠: Debian stable package indexes: barman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install barman
```

  証拠: Fedora Rawhide package metadata: barman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#barman
```

  証拠: nixpkgs package indexes: pkgs/by-name/ba/barman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:barman
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.19.1
- **ソース概要:** Backup and Recovery Manager for PostgreSQL
- **ホームページ:** <https://www.pgbarman.org/>
- **リポジトリ:** <https://github.com/EnterpriseDB/barman>
- **最終更新:** 2026-05-27T15:28:03Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- 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 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.19.1
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://docs.pgbarman.org/release/3.12.0/user_guide/configuration.html>
- <https://docs.pgbarman.org/release/3.19.1/user_guide/>
- <https://github.com/EnterpriseDB/barman/blob/master/README.rst>
- <https://github.com/EnterpriseDB/barman/blob/master/RELNOTES.md>
- source_facts.package-manager


## セキュリティノート

barman に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

- Unix: /etc/barman.conf, ~/.barman.conf, /etc/barman.d/*.conf

## Credential files

- Unix: ~/.pgpass
## 他のパッケージマネージャ記録

- Debian apt - barman - 3.13.3-1: normalized package name match | Debian stable package indexes: barman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Backup and Recovery Manager for PostgreSQL | https://www.pgbarman.org
- Debian apt - barman-cli - 3.13.3-1: normalized package name match | Debian stable package indexes: barman-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Client utilities for the integration of Barman in PostgreSQL clusters | https://www.pgbarman.org
- Debian apt - barman-cli-cloud - 3.13.3-1: normalized package name match | Debian stable package indexes: barman-cli-cloud from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Cloud client utilities for the integration of Barman in PostgreSQL clusters | https://www.pgbarman.org
- Debian apt - python3-barman - 3.13.3-1: normalized package name match | Debian stable package indexes: python3-barman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Backup and Recovery Manager for PostgreSQL - Python modules | https://www.pgbarman.org
- Nix - barman: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/barman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - barman - 3.10.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: barman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Backup and Recovery Manager for PostgreSQL | https://www.pgbarman.org
- Ubuntu apt - barman-cli - 3.10.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: barman-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Client utilities for the integration of Barman in PostgreSQL clusters | https://www.pgbarman.org
- Ubuntu apt - barman-cli-cloud - 3.10.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: barman-cli-cloud from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Cloud client utilities for the integration of Barman in PostgreSQL clusters | https://www.pgbarman.org
- Ubuntu apt - python3-barman - 3.10.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-barman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Backup and Recovery Manager for PostgreSQL - Python modules | https://www.pgbarman.org
- apk - barman - 3.19.1-r0: normalized package name match | Alpine Linux edge package indexes: barman from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Backup and recovery manager for PostgreSQL | https://pgbarman.org
- apk - barman-bash-completion - 3.19.1-r0: normalized package name match | Alpine Linux edge package indexes: barman-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for barman | https://pgbarman.org
- apk - barman-doc - 3.19.1-r0: normalized package name match | Alpine Linux edge package indexes: barman-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Backup and recovery manager for PostgreSQL (documentation) | https://pgbarman.org
- apk - barman-pyc - 3.19.1-r0: normalized package name match | Alpine Linux edge package indexes: barman-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for barman | https://pgbarman.org
- dnf - barman - 3.18.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: barman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Backup and Recovery Manager for PostgreSQL | http://www.pgbarman.org/
- dnf - barman-cli - 3.18.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: barman-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Client Utilities for Barman | http://www.pgbarman.org/
- dnf - python3-barman - 3.18.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-barman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Shared libraries for Barman | http://www.pgbarman.org/


## Combined YAML source

View the package source record on GitHub. [combined/barman.yml](https://github.com/mxcl/pkgdb/blob/main/combined/barman.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
