• Recommended repository backup procedure missing stuff

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #30561  by ukoda
 
Hi, I have installed OpenKM 6.3.0 using the defaults in to a Docker image. I reviewed the wiki page "Repository backup", http://wiki.openkm.com/index.php/Repository_backup, and from that determined that the location I needed to expose via Docker to save changes is "/usr/local/tomcat/repository".

When I set up some test data, shut down OpenKM, and started it on another machine almost everything was ok except the property groups. A property group I had created was no longer present. I can only assume that property groups are stored somewhere outside "$TOMCAT_HOME/repository"? If so where are they stored? Is there any other paths I need to know about if I wish to be able move from machine to machine without losing information?

Let me know if you need more details about any aspect of my set up.

Thanks in advance for any information you can offer.
 #30564  by ukoda
 
I have resolved the problem. I had made a mistake with the volume argument in the script I was using with Docker. It now appears to work well. Sorry if I wasted anyone's time on this.
 #30570  by jllort
 
My suggestion is you take a look here http://wiki.openkm.com/index.php/Backup_scripts and specially here http://wiki.openkm.com/index.php/Backup ... iff-backup
Correct backup execution must contains database dump ( object information etc... ) and binary information what's into repository folder ( here there's the datastore folder what contains all binary files ). With these two things the backup is correct done.
 #30574  by ukoda
 
jllort wrote:My suggestion is you take a look here http://wiki.openkm.com/index.php/Backup_scripts and specially here http://wiki.openkm.com/index.php/Backup ... iff-backup
Correct backup execution must contains database dump ( object information etc... ) and binary information what's into repository folder ( here there's the datastore folder what contains all binary files ). With these two things the backup is correct done.
That information has me bit worried. The scripts are running database exports instead of saving files. I guess the good news is I now know there is a database to worry about, but I have no idea where it's files are so I guess I am not ready to go live yet. Does anyone know where database files are stored? I can't see any myd files under /usr/local/tomcat.

The other thing is what is the database used for? I can see the folders and properties when I move the data from server to server so what am I losing if the database is not being moved too?

I was also looking for the PDF files I had uploaded, I assume they are somewhere under /usr/local/tomcat too but with different names or compressed or something as I can't find then there.

BTW, the reason I don't want run database exports is it breaks the ideas behind using Docker where OpenKM is in its own VM that is shutdown, the data moved and restart on another server. My challenge is to ensure I expose all the directories in Docker container that contain variable data used by OpenKM.
 #30586  by jllort
 
Documents are stored in disk at $TOMCAT_HOME/repository/datatore folder, but the name is replaced by its UUID. Take a look some UUID and you'll easily found the a document named UUID into this folder structure.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.