• Backup a dockerized Installation

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #46500  by just_me
 
I am running OpenKM on docker-compose and i am wondering, what and how to backup, so i could rebuild easily if server fails. My documents are on a network share, being mounted on /mnt/drive, so the backup here is a different story.

So what would be the best practice to backup, in case i have to rebuild on a new server?

Thanks and best
j_m
 #46516  by jllort
 
You should make an incremental backup of your network files ( remember we do not suggest have Lucene index in a network resource for performance reason, but you can always rebuild it , when needed ). Also, you should have a full backup of the database.

Our backup documentation section might help you ( at least for understanding restore ):
https://docs.openkm.com/kcenter/view/ok ... ackup.html

And yes, from a new installation you should restore the database, server.xml, OpenKM.cfg and repository folder. With these things should be enough. If you have followed my suggestion to do not move Lucene to the network, also you should rebuild the entire Lucene indexes https://docs.openkm.com/kcenter/view/ok ... dexes.html.

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.