Community mailing list archives

community@mail.odoo.com

Re: no pictures after restore of backup

by
redCOR AG, robert rottermann
- 08/16/2015 16:19:41
On 16.08.2015 14:33, Marc Cassuto wrote:
<blockquote cite="mid:55D081DA.1070103@gmail.com" type="cite">

Hi Robert,

you can use the module attachment_large_object from Anybox to store your image into the DB
(repo https://bitbucket.org/anybox/advanced_attachment)

ah, perfect
for exactly such an "replication" procedure  as described in the module documentation I was trying to implement..

thaks to all of you that answered
robert
<blockquote cite="mid:55D081DA.1070103@gmail.com" type="cite">


Marc

On 08/16/2015 06:03 AM, Caudal Eric wrote:
<blockquote cite="mid:CABxYQ6XCm77E+B_n6KvyPjV35aNDyoOSWbn5Y2sC28zB5NjsjQ@mail.gmail.com" type="cite">
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 <ferdinand.gassauer@camptocamp.com> wrote:
On 2015-08-16 11:26, robert rottermann wrote:

look for a filestore directory

> Hi there,
>t
> 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
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe