Community mailing list archives

community@mail.odoo.com

no pictures after restore of backup

by
redCOR AG, robert rottermann
- 08/16/2015 05:21:44
Hi there,

I am setting up a restore of a odoo database to a local computer.
What I do is the following:
1. on the remote server I dump the atabase with db_dump > db.sql
2. copydb.sql to the local computer.
3. load the database with pg_restore
4.started my local odoo

now everything seem to be fine, but I do not see most of the pictures.
here is the local url to an image:
http://localhost:8069/website/image/ir.attachment/253_51a9925/datas
and the remote url, where the same image is correctly displayed:
http://verkauf.redcor.ch/website/image/ir.attachment/253_51a9925/datas

now my questions:
- where does odoo save the images?
- how do I correctly backup restore the database..

thanks
robert