Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
3398 Visninger

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
Kassér
Forfatter Bedste svar

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
Kassér

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

Bedste svar

Try changing root with postgre and see if it works. 

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
maj 19
2204
9
jul. 25
64664
9
jul. 24
97882
0
apr. 24
1788
4
nov. 23
5836