Page 1 of 1
Backup Configurations
PostPosted:Tue Dec 20, 2016 6:21 am
by jimac
Hello,
Is it possible to backup all of my configurations in OpenKM?
For example like the user accounts and automations.
Thank you in advance.
Re: Backup Configurations
PostPosted:Wed Dec 21, 2016 4:41 pm
by jllort
Yes, you can make a complete backup, take a look at
https://wiki.openkm.com/index.php/Backu ... iff-backup ( for linux in windows the idea is the same, dump the mysql and copy entire tomcat folder ) .
Re: Backup Configurations
PostPosted:Thu Dec 22, 2016 1:06 am
by jimac
Hello, does it also apply to HSQL database?
Re: Backup Configurations
PostPosted:Thu Dec 22, 2016 2:45 am
by jimac
What I am going to do is backup from HSQL and transfer them to a MySQL.
Re: Backup Configurations
PostPosted:Thu Dec 22, 2016 12:36 pm
by jllort
I suggest export entire repository ( Administration > export ) and then import into a fresh OpenKM installation.
To backup a HSQLDB the easies is stop OpenKM and zip the entire tomcat folder ( the database is into, and you are doing the database backup at the same time you are adding regular files into zip ). You can also move the zip backup to another computer, uncompress ( I suggest in same folder location ) and get running the backup from there.
Re: Backup Configurations
PostPosted:Mon Jan 09, 2017 2:46 am
by jimac
Hello,
I zipped the entire tomcat folder from the old installation that uses HSQL and moved it (more likely replaced the tomcat folder) into a newly installed OpenKM that is configured to use a MySQL database. It seems like that it worked.
The question now is that does the newly installed OpenKM still uses the configured SQL database? Or does it use the default HSQL?
Re: Backup Configurations
PostPosted:Tue Jan 10, 2017 9:42 am
by jllort
If you have installed new OpenKM ( default intallation ) then it comes with the same HSQL. Follow the steps described here for creating a new repository based in MySQL
https://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2
Re: Backup Configurations
PostPosted:Wed Jan 11, 2017 12:58 am
by jimac
I did create a new repository based on MySQL, seems like it worked. Then I moved and merged the tomcat folder from the old installation that uses HSQL with the new installation. Did I do it right?
Re: Backup Configurations
PostPosted:Thu Jan 12, 2017 5:52 pm
by jllort
No, you must not merge older tomcat with newer. You must export all the repository ( Administration > Export ) and then in the new user the Administration -> Import