Odoo 10 docker export and import data
Hi, I'm currently running odoo 10 in a docker container. I would like to export the data from the one docker and import it in the other one.
On the source system I do the following:
- export the database: pg_dumpall -U postgres | gzip -c > odoo_backup.out.gz
- copy over the directory /var/lib/odoo
On the target I do:
- import the DB dump: psql -U postgres < odoo_backup.out
- copy the odoo directory back to /var/lib/
All works fine, except that the pictures are not visible. When I edit the website and I want to pick a previously uploaded picture, all are showing errors except for 2.
So I'm wondering now, are the pictures stored in another location as well?