Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7766 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

do dump as a postgres user.

>> sudo su postgres

>> psql testdb < test.dump

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


Imagine profil
Abandonează
Autor

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 Răspunsuri Vizualizări Activitate
0
feb. 21
6441
1
apr. 17
18381
2
iun. 16
2722
0
mar. 15
4561
1
mar. 15
15030