Skip to Content
Menu
This question has been flagged
1 Atsakyti
7782 Rodiniai

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

Portretas
Atmesti
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


Portretas
Atmesti
Autorius

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 Rodiniai Veikla
0
vas. 21
6452
1
bal. 17
18401
2
birž. 16
2722
0
kov. 15
4578
1
kov. 15
15040