• Backup of more than just repository

  • 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.
 #27778  by hbuus
 
I'm interested in making a full backup of both repository and all other important files.

Here: http://wiki.openkm.com/index.php/Repository_backup_5.x

- I read this about making a backup from Administration in OpenKM:
"This export is only of the document repository and won't backup all other information stored in OpenKM database as user, roles, property groups definitions, workflows, mail accounts, etc."

How do you backup these other things then?

Thanks.

Best,
Henrik
 #27807  by hbuus
 
Thanks for the reply!

Hm, I'm on Windows. What do I do then?

EDIT:
Btw. what information precisely is it that is not backed up by what is decribed as the alternative backup procedure in the link I supplied before?
I.e. it says on the help page:
"This export is only of the document repository and won't backup all other information stored in OpenKM database as user, roles, property groups definitions, workflows, mail accounts, etc."

So it's:
- users
- roles
- property groups definitions (These I can just backup by taking a backup of the PropertyGroups.xml-file, right?
- workflows
- mail accounts

What else?
 #27813  by hbuus
 
Second question:

I'm trying to use Administration->Export in order to export my repository.
But which file(s) does it create, and in which directory are they put?

***************************************************************************************

Alternatively: Can't I just keep a copy of tomcat/repository and tomcat/PropertyGroups.xml?

Then if I uninstall OpenKM to delete all files and then reinstall OpenKM again afterwards, and do this:

1. Replace the default created file tomcat/PropertyGroups.xml with my backup of it
2. Boot OpenKM
3. Log in as okAdmin and register Property Groups, and log off okAdmin again
4. Shutdown OpenKM
5. Replace the default created dir tomcat/repository with my backup of it
6. Boot openKM again

Then will it work? I.e. will my backup of my repository then be up and running again?

Thanks for all the help, I appreciate it!
 #27831  by jllort
 
What you propose is like a migration between versions. In this case there's minimal information that will not be exported, that will be:
1- users and roles definitions
2- profiles
3- reporstm, automation task and crontab task if you registered ones.
4- configuration parameters

If you backup also it, then you will get all. I suggest read the migration procedure from 5.1.11 to 6.2.X here you got and example of all steps. In any OpenKM version steps will be very similar or exactly the same. http://wiki.openkm.com/index.php/Migrat ... .11_to_6.2

Note You'll see in scripts we force roles have ROLE_ at the begging of a role. Really it's not necessary and I never do. That's why because spring security suggest it, but really is not mandatory and I do not like much.

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.