Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

Hi Hilar,

This works well for ubuntu but not in windows.

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

Publications associées Réponses Vues Activité
0
févr. 21
6434
1
avr. 17
18370
2
juin 16
2722
0
mars 15
4544
1
mars 15
15026