Skip to Content
Menu
This question has been flagged
2 Replies
3416 Rodiniai

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

8

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?

Portretas
Atmesti
Autorius Best Answer

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

Portretas
Atmesti

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

Best Answer

Try changing root with postgre and see if it works. 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
geg. 19
2228
9
liep. 25
64802
9
liep. 24
98128
0
bal. 24
1831
4
lapkr. 23
5872