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

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

 

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=<>

 

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 22
4935
1
เม.ย. 25
963
Odoo Database error แก้ไขแล้ว
1
ธ.ค. 21
10351
1
ก.พ. 19
15384
1
มี.ค. 15
3930