Backup a dockerized Installation
PostPosted:Tue Aug 07, 2018 9:29 am
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
Re: Backup a dockerized Installation
PostPosted:Thu Aug 09, 2018 4:50 pm
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.