コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3404 ビュー

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
64680
9
7月 24
97921
0
4月 24
1801
4
11月 23
5841