Page 1 of 1

Bulk import from server folder

PostPosted:Thu Sep 24, 2020 6:27 pm
by srso
I have installed OpenKM on a Ubunutru 20.04 server.

I managed to login as okmAdmin.

On the same server , we have about 1Tb of data (documents) from we have to import, replicating the folder structure.

Is there a command line way to do this on the server side?

Re: Bulk import from server folder

PostPosted:Fri Sep 25, 2020 6:45 pm
by jllort
Remember when you upload data in the OpenKM repository duplicate the disk usage ( basically your current TB will be duplicated in the file system, because when uploading openkm create it's own repository -> at the end you will be using 2TB after the import be completed ).

For this kind of uploading OpenKM comes with a tool, go to Administration > Tools > Repository import:
1- Choose origin
2- Choose destination /okm:root
3- Leave the other checkbox options unchecked
4- Click execute

This section in the documentation explain this feature https://docs.openkm.com/kcenter/view/ok ... mport.html

In case of huge imports, sometimes the information in the screen is exhausted and the process get stalled in the browser, do not worry, there's a log what can be used to following what really it is happening in background -> in the tomcatXXX/logs should be a file named RepositoryImportXXXX.log