Here is the server configuration :
; Barman, Backup and Recovery Manager for PostgreSQL
;
http://www.pgbarman.org/ -
http://www.2ndQuadrant.com/;
; Template configuration file for a server using
; only streaming replication protocol
;
[CONT03-07-001-016-00000369]
; Human readable description
description = "CONT03-07-001-016-00000369 (Cluster=publifund Project=general Environment=prod)"
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; PostgreSQL connection string (mandatory)
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
conninfo = host=CONT03-07-001-016-00000369 user=barman_streaming dbname=postgres
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; PostgreSQL streaming connection string
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; To be used by pg_basebackup for backup and pg_receivexlog for WAL streaming
; NOTE: streaming_barman is a regular user with REPLICATION privilege
streaming_conninfo = host=CONT03-07-001-016-00000369 user=barman_streaming dbname=postgres
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Backup settings (via pg_basebackup)
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
backup_method = postgres
;streaming_backup_name = barman_streaming_backup
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; WAL streaming settings (via pg_receivexlog)
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
archiver = on
streaming_archiver = on
;F2C comment : impossible to include character '@' and '-'
slot_name = barman__CONT03_07_001_016_00000369
streaming_archiver_name = barman_receive_wal
streaming_archiver_batch_size = 50
; PATH setting for this server
path_prefix = "/usr/pgsql-9.6/bin"
Thanks