تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
7764 أدوات العرض

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
فبراير 21
6439
1
أبريل 17
18379
2
يونيو 16
2722
0
مارس 15
4559
1
مارس 15
15027