Barman 3.5.0 released

2 minute read

29 March 2023: EnterpriseDB is proud to announce the release of Barman version 3.5.0, a Backup and Recovery Manager for PostgreSQL.

Release Notes

  • Python 2.7 is no longer supported. The earliest Python version supported is now 3.6.

  • The barman, barman-cli and barman-cli-cloud packages for EL7 now require python 3.6 instead of python 2.7. For other supported platforms, Barman packages already require python versions 3.6 or later so packaging is unaffected.

  • Support for PostgreSQL 10 will be discontinued in future Barman releases; 3.5.x is the last version of Barman with support for PostgreSQL 10.

  • Backups and WALs uploaded to Google Cloud Storage can now be encrypted using a specific KMS key by using the --kms-key-name option with barman-cloud-backup or barman-cloud-wal-archive.

  • Backups and WALs uploaded to AWS S3 can now be encrypted using a specific KMS key by using the --sse-kms-key-id option with barman-cloud-backup or barman-cloud-wal-archive along with --encryption=aws:kms.

  • Two new configuration options are provided which make it possible to limit the rate at which parallel workers are started during backups with backup_method = rsync and recoveries. parallel_jobs_start_batch_size can be set to limit the amount of parallel workers which will be started in a single batch, and parallel_jobs_start_batch_period can be set to define the time in seconds over which a single batch of workers will be started. These can be overridden using the arguments --jobs-start-batch-size and --jobs-start-batch-period with the barman backup and barman recover commands.

  • A new option --recovery-conf-filename is added to barman recover. This can be used to change the file to which Barman should write the PostgreSQL recovery options from the default to an alternative location.

  • Bug fixes:

    • Fix a bug which prevented barman-cloud-backup-show from displaying the backup metadata for backups made with barman backup and uploaded by barman-cloud-backup as a post-backup hook script.

    • Fix a bug where the PostgreSQL connection used to validate backup compression settings was left open until termination of the Barman command.

    • Fix an issue which caused rsync-concurrent backups to fail when running for a duration greater than idle_session_timeout.

    • Fix a bug where the backup name was not saved in the backup metadata if the --wait flag was used with barman backup.

  • We thank the following who contributed to this release:

    • barthisrael
    • epolkerman
    • hzetters
    • mhkarimi1383
    • mojtabash78


Source code and wheel file can be downloaded from release 3.5.0 page.

About Barman

Barman is an open-source administration tool for backup and disaster recovery of PostgreSQL servers written in Python. It allows organizations to perform remote backups of multiple servers in business critical environments and help DBAs during the recovery phase.

Barman is maintained by EnterpriseDB and distributed under GPL v3.