跳至内容
菜单
此问题已终结

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
6288
1
4月 17
18228
2
6月 16
2722
0
3月 15
4436
1
3月 15
14827