Page 2 of 2
Re: Backing up Docs in OpenKM to a Harddisk other than MySQL
PostPosted:Mon Oct 03, 2011 5:39 am
by rmm
I have implemented a filedatastore approach...I have some questions..
When the file was uploaded...it returns a randomized 40 character file name.. and stored in the third folder in the filesystem..
This is automatically generated right? However, I wanted to store it using its original file name?
And how do you implement a CustomDataStore? Thank you..
Re: Backing up Docs in OpenKM to a Harddisk other than MySQL
PostPosted:Tue Oct 04, 2011 6:01 am
by jllort
Why do you want it ... which use you've got in mind ?
Re: Backing up Docs in OpenKM to a Harddisk other than MySQL
PostPosted:Tue Oct 04, 2011 6:13 am
by rmm
In our environment, we will be modifying a lot of powerpoint presentations, pdf files and will put it in the local files system in server1.
Now in server2, where we put OpenKM will just get these files in server1. Is OpenKM designed to such process?
Also if we upload a file in server2 it will be uploaded also in the local filesystem of server1.
Re: Backing up Docs in OpenKM to a Harddisk other than MySQL
PostPosted:Wed Oct 05, 2011 6:10 am
by jllort
Now I think I understand what do you mean.
Here are two operations
1- When something is uploading at server 1. You want automatically importing at server 2 ( openkm structure )
2- When something is uploading at server 2. You want automatically copying at server1.
First tell me if it's the scenario. Then will study with more care each problem.
Re: Backing up Docs in OpenKM to a Harddisk other than MySQL
PostPosted:Fri Oct 07, 2011 7:05 am
by rmm
Yes jllort. That's exacly what we want in OpenKM.
FIrst. I've seen a post
http://forum.openkm.com/viewtopic.php?f=5&t=4555
From what I have understand..there is a hotfolder where all files are being put and are imported in OpenKM. I've been trying this process...but still there's no luck.
Second one..how will you do the process? Pavila said that I can use CustomDataStore.
Re: Backing up Docs in OpenKM to a Harddisk other than MySQL
PostPosted:Mon Oct 10, 2011 6:25 am
by jllort
Importing data to remote server to OpenKM might be done by crontab, here must be implemented some logic with java, you can take a look on it
http://wiki.openkm.com/index.php/Crontab
About exporting from OpenKM to your remote server, seems the best option is doing by core extension ( signals each time document is deleted, uploaded etc... )
http://wiki.openkm.com/index.php/Core_extensions
obviously that need some job - programing - to build the logic you need