I've been running pgcli for some time and have just started trying to back-up my database. I've tried running pg_dump, but have been having various problems. When I enter this into the CLI:
pg_dump --version
I get the response:
bash: /usr/bin/pg_dump: No such file or directory
I've tried installing postgresql-client, as per:
sudo apt-get install postgresql-client
and
sudo apt-get install postgresql-client-common
But I get the same results whenever I try to use the pg_dump command. I don't know where to begin to resolve this.
(I've picked up the above ideas from previous stack threads, eg: what is the meaning of the pg_dump and pg_restore errors)