Hi All,
I have Odoo 12 CE on a CentOS 7.5 VM on Azure. I followed steps by linuxise to install and it all works perfectly except for backing up the database.
I go to .../web/database/backup and click backup, enter password (password must be correct as it tells me access denied if different) and then I get this
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpxidwmnvw/dump.sql', 'MyDb') error 1
I have seen some old forum entries suggesting to run pg_dump. I fail at the first hurdle, can't get log into psql :(
Can anyone tell me how to resolve this problem? Also how do I log into psql?
for logging into Postgres, try,
sudo su postgres
click enter, then
psql
Just a found a video which might help you on taking back up from terminal: https://www.youtube.com/watch?v=KUHD4YGXseI
Hi, Thanks! I'm in Postgres, now just looking at a few things.