跳至内容
菜单
此问题已终结
2 回复
3395 查看

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?

形象
丢弃
编写者 最佳答案

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

形象
丢弃

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

最佳答案

Try changing root with postgre and see if it works. 

形象
丢弃
相关帖文 回复 查看 活动
0
5月 19
2204
9
7月 25
64661
9
7月 24
97878
0
4月 24
1787
4
11月 23
5835