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

Hello Odoo's 🙋‍♂️, 

I'm looking to export and import all the databases in Odoo. I need to transfer my work from Odoo installed on Docker to Odoo installed on my desktop.

الصورة الرمزية
إهمال

what issue you're facing?

أفضل إجابة

Hi,
From the database manager: ie, from /web/database/manager you can export the db with or without filestore and from the db manager page of the new odoo instance, restore the exported db.

* Navigate to the DB manager page of existing odoo instance
* Trigger the backup process
* Once the db is exported as zip
* Open db manager page of new instance
* Click Restore button and select the already exported file and restore

Odoo database backup:  How To Back Up Database In Odoo

Thanks

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thank you guys so much !

الصورة الرمزية
إهمال
أفضل إجابة

I have used the two methods that Tobi mentions and I recommend using the database manager, since when you export the database zip, it also exports the static files. For example the images of the contacts.


The path to this directory is located in your odoo directory:

/odoo/.local/share/Odoo


If you use the pg_dump method, make sure to transfer this directory to your PC

الصورة الرمزية
إهمال
أفضل إجابة

Simply run:

pg_dump dbname > dumpfile

on your server for each database or just backup database from /web/database/manager screen


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
6401
1
فبراير 25
1239
0
مايو 24
183
2
يوليو 21
6882
3
يوليو 16
6432