Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3194 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar

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

Mejor respuesta

Try changing root with postgre and see if it works. 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 19
1967
9
abr 25
63336
9
jul 24
95547
0
abr 24
1372
4
nov 23
5357