跳至內容
選單
此問題已被標幟
1 回覆
14969 瀏覽次數

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?

相關帖文 回覆 瀏覽次數 活動
3
1月 22
4909
1
4月 25
952
1
12月 21
10336
1
2月 19
15359
1
3月 15
3912