Page 1 of 1

Export large data set of documents

PostPosted:Thu Sep 25, 2014 8:40 am
by matt81
Hi Guys,
Can you tell me the best way to export a large set of documents and folders in OpenKM. I have tried the recommended way of using export import from administration tab, however the execution time runs out, so I get an error afterwards. I have tried the export script from below, however that only copies the folders without the files.

http://wiki.openkm.com/index.php/Export ... ver_as_zip

Can you tell me the best efficient way to export and import a large data set of documents.

Thank you

Re: Export large data set of documents

PostPosted:Fri Sep 26, 2014 4:14 pm
by jllort
sometimes you can get error from administration caused by apache exhausted connection, if you got apache proxy connection try with it
Code: Select all
ProxyPass ajp://127.0.0.1:8009/OpenKM keepalive=On
If you're on linux try with tunnel and access directly across server port
Code: Select all
ssh user@ip -L 8080:127.0.0.1:8080
With this connection ( mapping 8080 to your localhost ) you should not get error. However althought you see error, really application continues working, the error is only caused by connection not by process execution.

Re: Export large data set of documents

PostPosted:Mon Sep 29, 2014 2:15 am
by matt81
Thanks for your reply.
Yes I just realized that after, although the Browser session timesout, the process continues working in the background.

Thanks

Re: Export large data set of documents

PostPosted:Tue Sep 30, 2014 11:19 pm
by jllort
The apache configuration keepalive attribute tries to solve it. If you access directly to Tomcat port 8080 you won't see this problem.