I was trying to make a backup in a server and I got the error:
pg_dump command not found
I thought that if you had postgres installed, it worked. What I have to do to install this command? I do not think that it is possible with apt-get
or aptitude.
postgresql-client-x.x
, as well as a couple of other housekeeping utilities. Make sure you replace x.x by the proper version number for your server.postgresql-client-common
if you want it to be in the path. Either way it should be available in/usr/lib/postgresql/YOUR_PG_VERSION/bin/pg_dump
(14.04)