I need to use the
pg_dump program on an Ubuntu 18.04 system to connect to a remote PostgreSQL 11.6 server.
However, the current system only contains
pg_basebackup 10.10 and the remote database is using PostgreSQL 11.6. Running
pg_basebackup give the error
pg_basebackup: incompatible server version 11.6
Tried to install the correct version of
pg_basebackup using the command:
apt install postgresql-client-11
but the apt package is not found. Only
postgresql-client-common are available the system's apt repos.
Question: How can we install the correct version of
pg_basebackup without having to copy it over from the remote database server, and without installing PostgreSQL 11.6 on this machine?