콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
5015 화면

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
3월 15
6789
1
2월 25
1654
0
5월 24
183
2
7월 21
7150
3
7월 16
6797