تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
14840 أدوات العرض

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
يناير 22
4777
1
أبريل 25
807
Odoo Database error تم الحل
1
ديسمبر 21
10180
1
فبراير 19
15183
1
مارس 15
3817