Community mailing list archives

Re: postgres credentials (forbackups)? installed with bitnami-odoo installer

Anders Wallenquist
- 2015年02月04日 04时55分24秒
This is how we usually take backup:



for DB in `su postgres -c "psql -At -c \"select datname from pg_database 
where datistemplate = false and 'postgres'  datname;\" postgres"`
         echo $DB
         su postgres -c "pg_dump -Fp $DB " | gzip > 

The backup-script are run as root and we access the database using su 

Anders Wallenquist

Den 2015-02-03 17:33, Tomasz Chmielewski skrev:
> I've installed Odoo from
> I'd like to backup my Odoo postgres database.
> Unfortunately, I see it's set to use a password, and I'm not able to
> find in documentation what password was it set to (or where to find it
> out):
> root@odoo01:~# su - postgres
> No directory, logging in with HOME=/
> $ /opt/odoo-8.0-5/postgresql/bin/psql
> Password:
> psql.bin: fe_sendauth: no password supplied
> What is the password for "postgres" database user (or any other admin
> user, or where to find that info) with Odoo installed with
> -- 
> Tomasz Chmielewski
> _______________________________________________
> Mailing-List:
> Post to:
> Unsubscribe: