Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3442 Prikazi

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
Opusti
Avtor 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
Opusti

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
maj 19
2257
9
jul. 25
64854
9
jul. 24
98258
0
apr. 24
1839
4
nov. 23
5888