Barman
A utility for managing PostgreSQL backups and WAL file archiving
Barman
(sometimes referred to as PgBarman
or pg_barman
) is a utility for managing PostgreSQL backups and WAL file archiving.
Barman
was originally developed by 2ndQuadrant and is now maintained by EnterpriseDB. It is available under the GPL v3 license. It was first released in 2012.
Release history
This is a summary of the major point releases; for a full and detailed list of releases, see the Barman release page and the release notes.
- 2.19 (2022-03-09, release notes)
- 2.18 (2022-01-21, release notes)
- 2.17 (2021-12-01, release notes)
- 2.16 (2021-11-17, release notes)
- 2.15 (2021-10-12, release notes)
- 2.14 (2021-09-22, release notes)
barman-cloud-backup-delete
command added (commit e20d7abe)- existing backups can be tagged as archival backups using
barman keep
andbarman-cloud-backup-keep
(commit 0fe356aa) - SAS authentication tokens created at the restricted blob container level can be used for Azure blob storage (commit a1a993e8)
- significantly speed up
barman restore
into an empty directory for backups which contain a very large number of files (commit a9d87b6d)
- 2.13 (2021-07-26, release notes)
- Azure blob storage support added to barman-cloud (commit d2afcec1)
- support for tablespace remapping in
barman-cloud-restore
via--tablespace name:location
added (commit 03ddced3) barman-cloud-wal-archive
can run as a pre-/post-archive hook script (commit 6d168a8d)barman-cloud-backup
can run as a post-backup hook script (commit 6d6f9a04)
- 2.12 (2020-11-05, release notes)
- new
backup_method
optionlocal-rsync
(commit 26218640)
- new
- 2.11 (2020-07-09, release notes)
- addition of separate
barman-cli-cloud
package for cloud utilities (see also: "Barman 2.11: barman-cloud-restore and barman-cloud-wal-restore")
- addition of separate
- 2.10 (2019-12-02, release notes)
- support for the
database system identifier
added (commit 4e2b387e; see also: "Support for PostgreSQL’s System identifier in Barman") - support for fetching
.partial
WAL files withget-wal
andbarman-wal-restore
(commit ec1cffda; see also: "Barman 2.10 - Recovery of partial WAL files") barman-cli
: scriptbarman-cloud-wal-archive
for shipping WAL files to AWS S3-compatible services (commit 0d2b52b1; see also: "Barman Cloud - Part 1: WAL Archive")barman-cli
: scriptbarman-cloud-backup
for shipping base backups to AWS S3-compatible services (commit 812cd8a1)- configuration option
create_slot
for automatic creation of replication slots (commit 4a7aa181) - option
-w
/--wait
added tobarman backup
command (commit a263c8ab)
- support for the
- 2.9 (2019-07-27, release notes)
- PostgreSQL 12 support (commit 84396b1f)
- option
--bwlimit
added forbackup
andrecover
commands (commit 4d23f4e9) - option
--target-lsn
added forrecover
command (commit d8f323cd) - option
--spool-dir
added forbarman-wal-restore
command (commit f7a7da34) - option
-f
/--format
(default:console
) providing experimental JSON output writer for exporting command output as JSON objects (commit 12d36871) barman_xlog
directory renamed tobarman_wal
(commit 842f8579)
- 2.8 (2019-05-15, release notes)
- 2.7 (2019-03-20, release notes)
- 2.6 (2019-02-01, release notes)
- 2.5 (2018-10-22, release notes)
- 2.4 (2018-05-25, release notes)
- 2.3 (2017-09-05, release notes)
- 2.2 (2017-07-17, release notes)
- support for parallel copy added (see also: "Barman 2.2 and the magic of parallel copy")
- 2.1 (2017-01-05, release notes)
- 2.0 (2016-09-27, release notes)
- 1.6.0 (2016-02-26, release notes)
- 1.5.0 (2015-09-26, release notes)
- 1.4.0 (2015-01-24, release notes)
- 1.3.0 (2014-02-03, release notes)
- 1.2.0 (2013-01-31, release notes)
- 1.1.0 (2012-10-13, release notes)
- 1.0.0 (2012-07-06, release notes)
References
- Website: https://www.pgbarman.org/
- Documentation: https://docs.pgbarman.org/
- GitHub: https://github.com/EnterpriseDB/barman
Useful links
- EnterpriseDB Barman page with interactive demo: Barman
- 2ndQuadrant blog: posts tagged "Barman"
Categories
See also
pgbackrest. pg_rman