Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7816 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

do dump as a postgres user.

>> sudo su postgres

>> psql testdb < test.dump

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


Ảnh đại diện
Huỷ bỏ
Tác giả

Hi Hilar,

This works well for ubuntu but not in windows.

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 21
6470
1
thg 4 17
18449
2
thg 6 16
2722
0
thg 3 15
4634
1
thg 3 15
15090