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

Hi,

How to restore database using .dump file in odoo V7 in windows

I have tried using   psql testdb < test.dump and pg_restore -U user_name -d database_name -1 test.dump

and the following error occurs psql: FATAL:  password authentication failed for user "Administrator"

thanks in advance

アバター
破棄
最善の回答

do dump as a postgres user.

>> sudo su postgres

>> psql testdb < test.dump

>> pg_restore -U user_name -d database_name -1 test.dump


アバター
破棄
著作者

Hi Hilar,

This works well for ubuntu but not in windows.

okay, go to pg_hba.conf and change the postgres user permissions.

関連投稿 返信 ビュー 活動
0
2月 21
6473
1
4月 17
18450
2
6月 16
2722
0
3月 15
4647
1
3月 15
15110