Skip to Content
मेन्यू
This question has been flagged

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

Avatar
Discard
Best Answer

do dump as a postgres user.

>> sudo su postgres

>> psql testdb < test.dump

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


Avatar
Discard
Author

Hi Hilar,

This works well for ubuntu but not in windows.

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

Related Posts Replies Views Activity
0
फ़र॰ 21
6437
1
अप्रैल 17
18376
2
जून 16
2722
0
मार्च 15
4557
1
मार्च 15
15027