Team,
I tried to generate a bitbucket data center backup using a bitbucket Diy backup strategy.. I made the required changes to bitbucket.diy-backup.vars.sh file about bitbucket server URL, backup path, bitbucket home path, database port, server details etc..
Whenever i tried to run the below command getting error ./bitbucket.diy-backup.vars.sh: line 26: psql: command not found.
./bitbucket.diy-backup.sh
To check this error I logged into the database server and checked the database version using the below command and its returning correct result.
psql --version
Result : psql (PostgreSQL) 9.6.11
Any help will be appreciated.