Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3213 Weergaven

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
Annuleer
Auteur Beste antwoord

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
Annuleer

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

Beste antwoord

Try changing root with postgre and see if it works. 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mei 19
2004
9
apr. 25
63499
9
jul. 24
95764
0
apr. 24
1468
4
nov. 23
5424