Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3433 Vizualizări

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?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează

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

Cel mai bun răspuns

Try changing root with postgre and see if it works. 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mai 19
2247
9
iul. 25
64836
9
iul. 24
98212
0
apr. 24
1838
4
nov. 23
5881