Community mailing list archives


Re: no pictures after restore of backup

Eric Caudal (Odoo Community Association)
- 08/16/2015 05:37:06
Odoo by default saves all attachments/documents/pictures directly in the file system and not anymore in the db. You can change this settings in the parameters (but this is probably not a good idea)

On Sun, Aug 16, 2015 at 5:35 PM Ferdinand Gassauer <> wrote:
On 2015-08-16 11:26, robert rottermann wrote:

look for a filestore directory

> 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:
> now my questions:
> - where does odoo save the images?
> - how do I correctly backup restore the database..
> thanks
> robert
> _______________________________________________
> Mailing-List:
> Post to:
> Unsubscribe:

Post to: