Barman
CREATE USER streaming_barman WITH REPLICATION PASSWORD 'your_secure_password'; Use code with caution. Copied to clipboard Troubleshooting Checklist
[pg-server] description = "Main PostgreSQL Database (Streaming)" ; Database connection info conninfo = host=192.168.1.10 user=barman dbname=postgres ; Connection info specifically for WAL streaming streaming_conninfo = host=192.168.1.10 user=streaming_barman dbname=postgres ; Backup method (postgres for streaming or rsync for SSH) backup_method = postgres streaming_archiver = on slot_name = barman create_slot = auto Use code with caution. Copied to clipboard 3. Essential PostgreSQL "Text" Commands
Each PostgreSQL server you back up needs its own .conf file. Here is a text template for a standard setup: barman
CREATE USER barman WITH SUPERUSER PASSWORD 'your_secure_password'; Use code with caution. Copied to clipboard :
: Use barman check to verify your text configurations are correct. This file defines the environment for the Barman
This file defines the environment for the Barman user and log storage.
2. Server-Specific Configuration ( /etc/barman.d/pg-server.conf ) barman
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