Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
3750 Ansichten

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
Verwerfen
Autor Beste Antwort

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
Verwerfen

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

Beste Antwort

Try changing root with postgre and see if it works. 

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Mai 19
2543
9
Juli 25
65984
9
Juli 24
101015
0
Apr. 24
2189
4
Nov. 23
6383