These instructions are for how to backup your VIVO installation, and what to backup.
There are three or four components that you will want to backup
- The VIVO home directory.
- This holds the Solr search index. The search index is not vital to a backup, since it can be rebuilt. However, rebuilding the index is time-consuming
- Also holds any uploaded image files, and any customized RDF files.
- Holds your
runtime.properties
file.
- The VIVO relational database.
- This holds all of your instance data (people, organizations, etc), as well as any customizations that you entered through the GUI.
- The VIVO RDF store.
- In most cases, the VIVO RDF store is held in the VIVO relational database (above), but at some sites it might be in a separate triple-store.
- The VIVO installation directory.
- If you have customized the templates or the Java code, you will want to preserve those changes.
- At a minimum, this directory contains your
build.properties
file.
Step-by-step guide
Things to think about
- If you've made changes to code, e.g. changes to freemarker template files, etc... then you might want to consider branching the VIVO and Vitro github repositories. This would act as a "backup" of any changes that you've made and backups would be handled by, say, github. There is a vivo project template on Github that is an example of this approach. It uses Git submodules to track the VIVO and Vitro code and keeps local modifications in the local git repository. A VIVO site could clone this repository and have a blank instance to get started with and have the benefit of any local changes being in a git repository. The Brown VIVO modifications are a working example of this approach.
Related articles
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: