Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3452 Zobrazení

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šit
Autor Nejlepší odpověď

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šit

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

Nejlepší odpověď

Try changing root with postgre and see if it works. 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
kvě 19
2266
9
čvc 25
64869
9
čvc 24
98296
0
dub 24
1841
4
lis 23
5891