Skip to Content
Menu
This question has been flagged
2 Replies
3413 Zobrazenia

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?

Avatar
Zrušiť
Autor 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

Avatar
Zrušiť

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. 

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
máj 19
2225
9
júl 25
64756
9
júl 24
98075
0
apr 24
1826
4
nov 23
5864