Attachments not reachable after restoring tryton 3.8 dump pg through psql

19 views
Skip to first unread message

Maah Moussa

unread,
Sep 25, 2017, 2:20:08 PM9/25/17
to tryton
Hello,
Restoring a dump of tryton 3.8 to a new server tryton 3.8. Names of attachments are available but nil size.
What may cause that?
Thanks
Maah Moussa

Axel Braun

unread,
Sep 26, 2017, 12:53:41 AM9/26/17
to try...@googlegroups.com


Am 25. September 2017 19:39:19 OESZ schrieb Maah Moussa <maahm...@gmail.com>:
>Hello,
>Restoring a dump of tryton 3.8 to a new server tryton 3.8. Names of
>attachments are available but nil size.
>What may cause that?

Backup was not correct?
Check the content of the backup file

HTH
Axel

Ralf Peschke

unread,
Sep 26, 2017, 3:14:44 AM9/26/17
to try...@googlegroups.com
Hello maah Moussa,
The attachments are not stored in database, they are stored in file
system, see path in section Database of the tryton configuration file.

Mfg
Ralf


--

Peschke IT-Beratung

Sergi Almacellas Abellana

unread,
Sep 26, 2017, 3:20:46 AM9/26/17
to try...@googlegroups.com
El 26/09/17 a les 06:53, Axel Braun ha escrit:
Indeed the attachments are not stored on the database but on the
directory defined by the path property of database section of config
file [1].

You should copy this directory if you restore the database to another
machine.


[1] http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#path

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Reply all
Reply to author
Forward
0 new messages