跳至內容
選單
此問題已被標幟
2 回覆
3214 瀏覽次數

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
2005
9
4月 25
63509
9
7月 24
95787
0
4月 24
1471
4
11月 23
5429