Barman Installation – How to Install with pg_receivewal and pg_basebackup

barmanpostgresql

Follow the official document, it's only necessary to install barman by yum or apt straightforward:

http://docs.pgbarman.org/release/2.10/#installation

Unnecessary to install PostgreSQL server on the barman server.

But in order to use barman, these 2 libraries are necessary: pg_receivewal and pg_basebackup. They are in the path /usr/pgsql-10/bin/ if install PostgreSQL server.

How to make them out without install PostgreSQL server? Is there anyway?

Best Answer

Actually the given URL also says in the System requirements section:

Linux/Unix
Python >= 3.4
Python modules:
    argcomplete
    argh >= 0.21.2
    psycopg2 >= 2.4.2
    python-dateutil
    setuptools
PostgreSQL >= 8.3
rsync >= 3.0.4 (optional for PostgreSQL >= 9.2)

It looks like you need to install PostgreSQL server.