Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7082 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 21
5964
1
เม.ย. 17
17857
2
มิ.ย. 16
2722
0
มี.ค. 15
4165
1
มี.ค. 15
14361