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

Hi

I need to restore a .dump backup file, but I cant do it using openerp v7's web interface, since it always crashes my local server.

How can I restore the dump file using command line?

Please describe it step by step.

Thanks a lot, regards

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

 

The exact format of the commands that Odoo uses for backup and restore is below.

For backup

pg_dump --format=c --no-owner --username=<> --host=<> --port=<> <dbname>

For restore:

pg_restore --no-owner --dbname=<>

 

Ảnh đại diện
Huỷ bỏ

and how to say whats the new database name and then load this dump in?

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 22
4909
1
thg 4 25
952
Odoo Database error Đã xử lý
1
thg 12 21
10336
1
thg 2 19
15360
1
thg 3 15
3912