Odoo Help


When using backup script, I get an error

on 6/3/16, 3:06 AM 705 views

Hi, when I'm using this backup script : https://www.odoo.com/de_DE/forum/how-to/installation-12/how-to-setup-a-regular-postgresql-database-backup-4728


Im getting this error:

Stopping odoo: ok

pg_dump: [archiver (db)] connection to database "giordano_init" failed: FATAL: role "root" 

Starting odoo: ok

What am I doing wrong?

On 6/3/16, 6:13 AM

I fix the issue

pg_dump -U odoo -E UTF-8 -p 5432 -F p -b -f $filename $db

with this command it works! finally

the "-U odoo" makes it work. You have to specify the proper postgres user in order to access the dabase.

Ermin Trevisan
on 6/6/16, 2:36 AM
Edser Solis
On 6/3/16, 7:14 AM

Try changing root with postgre and see if it works. 

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/3/16, 3:06 AM
Seen: 705 times
Last updated: 6/3/16, 8:03 AM