Skip to main content
Tidying up!
Source Link
Vérace
  • 31.1k
  • 9
  • 75
  • 88

Barman's incoming_wals_directory and Postgresql.conf's archive_command not matched as described in details here:

details Another cause is that the not matched between

Barman's incoming_wals_directory Postgresql.conf's archive_command Bash util to check

barman@backup $ barman show-server pg | grep incoming_wals_directory

output1

> incoming_wals_directory: /var/lib/barman/pg/incoming

barman@backup $ barman show-server pg | grep incoming_wals_directory
output1
> incoming_wals_directory: /var/lib/barman/pg/incoming

postgres@pg $ cat /etc/postgresql/10/main/postgresql.conf | grep archive_command&

output2

> archive_command = 'rsync -a %p barman@staging:/var/lib/barman/pg/incoming/%f'

postgres@pg $ cat /etc/postgresql/10/main/postgresql.conf | grep archive_command
output2
> archive_command = 'rsync -a  %p  barman@staging:/var/lib/barman/pg/incoming/%f'

We must have same path in :output1 and :output2

Make them matched if they don't and don't forget to restart postgres afterwardPostgreSQL afterwards.

Barman's incoming_wals_directory and Postgresql.conf's archive_command not matched as described in details here

details Another cause is that the not matched between

Barman's incoming_wals_directory Postgresql.conf's archive_command Bash util to check

barman@backup $ barman show-server pg | grep incoming_wals_directory

output1

> incoming_wals_directory: /var/lib/barman/pg/incoming

postgres@pg $ cat /etc/postgresql/10/main/postgresql.conf | grep archive_command

output2

> archive_command = 'rsync -a %p barman@staging:/var/lib/barman/pg/incoming/%f'

We must have same path in :output1 and :output2

Make them matched if they don't and don't forget to restart postgres afterward.

Barman's incoming_wals_directory and Postgresql.conf's archive_command not matched as described in details here:

details Another cause is that the not matched between

Barman's incoming_wals_directory Postgresql.conf's archive_command Bash util to check

barman@backup $ barman show-server pg | grep incoming_wals_directory
output1
> incoming_wals_directory: /var/lib/barman/pg/incoming

&

postgres@pg $ cat /etc/postgresql/10/main/postgresql.conf | grep archive_command
output2
> archive_command = 'rsync -a  %p  barman@staging:/var/lib/barman/pg/incoming/%f'

We must have same path in :output1 and :output2

Make them matched if they don't and don't forget to restart PostgreSQL afterwards.

Source Link

Barman's incoming_wals_directory and Postgresql.conf's archive_command not matched as described in details here

details Another cause is that the not matched between

Barman's incoming_wals_directory Postgresql.conf's archive_command Bash util to check

barman@backup $ barman show-server pg | grep incoming_wals_directory

output1

> incoming_wals_directory: /var/lib/barman/pg/incoming

postgres@pg $ cat /etc/postgresql/10/main/postgresql.conf | grep archive_command

output2

> archive_command = 'rsync -a %p barman@staging:/var/lib/barman/pg/incoming/%f'

We must have same path in :output1 and :output2

Make them matched if they don't and don't forget to restart postgres afterward.