The following is a basic example of main configuration file: * [barman] barman_user = barman configuration_files_directory = /etc/ docs.pgbarman.org Implementing PostgreSQL with Barman | by David Vandegrift
Are you setting up replication or the traditional rsync/SSH method? Barman Manual
This file defines the environment for the Barman user and log storage.
To make the configurations above work, you must execute these SQL commands on your to create the necessary users: Create the Barman User :
[barman] ; User that runs Barman barman_user = barman ; Where backup data is stored barman_home = /var/lib/barman ; Directory for individual server config files configuration_files_directory = /etc/barman.d ; Log file location log_file = /var/log/barman/barman.log log_level = INFO ; Default compression for backups compression = gzip Use code with caution. Copied to clipboard