Backup Configurations

OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
Post Reply
jimac
Expert Boarder
Expert Boarder
Posts: 83
Joined: Thu Dec 01, 2016 4:01 am

Backup Configurations

Post by jimac » Tue Dec 20, 2016 6:21 am

Hello,

Is it possible to backup all of my configurations in OpenKM?

For example like the user accounts and automations.

Thank you in advance.

jllort
Moderator
Moderator
Posts: 9117
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Backup Configurations

Post by jllort » Wed Dec 21, 2016 4:41 pm

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 ) .

jimac
Expert Boarder
Expert Boarder
Posts: 83
Joined: Thu Dec 01, 2016 4:01 am

Re: Backup Configurations

Post by jimac » Thu Dec 22, 2016 1:06 am

Hello, does it also apply to HSQL database?

jimac
Expert Boarder
Expert Boarder
Posts: 83
Joined: Thu Dec 01, 2016 4:01 am

Re: Backup Configurations

Post by jimac » Thu Dec 22, 2016 2:45 am

What I am going to do is backup from HSQL and transfer them to a MySQL.

jllort
Moderator
Moderator
Posts: 9117
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Backup Configurations

Post by jllort » Thu Dec 22, 2016 12:36 pm

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.

jimac
Expert Boarder
Expert Boarder
Posts: 83
Joined: Thu Dec 01, 2016 4:01 am

Re: Backup Configurations

Post by jimac » Mon Jan 09, 2017 2:46 am

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?

jllort
Moderator
Moderator
Posts: 9117
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Backup Configurations

Post by jllort » Tue Jan 10, 2017 9:42 am

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

jimac
Expert Boarder
Expert Boarder
Posts: 83
Joined: Thu Dec 01, 2016 4:01 am

Re: Backup Configurations

Post by jimac » Wed Jan 11, 2017 12:58 am

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?

jllort
Moderator
Moderator
Posts: 9117
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Backup Configurations

Post by jllort » Thu Jan 12, 2017 5:52 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest