Debian Codegraph @

docs/barman.d/streaming-server.conf-template

raw
1 ; Barman, Backup and Recovery Manager for PostgreSQL
2 ; https://www.pgbarman.org/ - https://www.enterprisedb.com/
3 ;
4 ; Template configuration file for a server using
5 ; only streaming replication protocol
6 ;
7
8 [streaming-server]
9 ; Human readable description
10 description = "Example of PostgreSQL Database (Streaming-Only)"
11
12 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13 ; PostgreSQL connection string (mandatory)
14 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
15 conninfo = host=pg user=barman dbname=postgres
16
17 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
18 ; PostgreSQL streaming connection string
19 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20 ; To be used by pg_basebackup for backup and pg_receivewal for WAL streaming
21 ; NOTE: streaming_barman is a regular user with REPLICATION privilege
22 streaming_conninfo = host=pg user=streaming_barman
23
24 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
25 ; Backup settings (via pg_basebackup)
26 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
27 backup_method = postgres
28 ;streaming_backup_name = barman_streaming_backup
29
30 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
31 ; WAL streaming settings (via pg_receivewal)
32 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
33 streaming_archiver = on
34 slot_name = barman
35 ;create_slot = auto
36 ;streaming_archiver_name = barman_receive_wal
37 ;streaming_archiver_batch_size = 50
38
39 ; Uncomment the following line if you are also using archive_command
40 ; otherwise the "empty incoming directory" check will fail
41 ;archiver = on
42
43 ; PATH setting for this server
44 ;path_prefix = "/usr/pgsql-12/bin"