Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3917 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona

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

Risposta migliore

Try changing root with postgre and see if it works. 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mag 19
2709
9
lug 25
66582
9
lug 24
102225
0
apr 24
2425
4
nov 23
6602