This section describes the steps for restoring the production data.
The dir.root directory is defined in the
SkyVault-global.properties file. By default, this directory is named
alf_data and is located within the directory where SkyVault is
installed.
-
Restore the backup into the new repository.
If Solr is being used, put the following directories from your backup to the dir.root directory on a new SkyVault 2.0 instance.
- contentstore directory
- solr/workspace directory (optional)
- solr/archive directory (optional)
- contentstore.deleted directory
Some of the above mentioned directories are optional. This is because if the indexes are not copied over from the previous SkyVault installation, Solr will query SkyVault and rebuild its index in background after the startup. It may take more time to rebuild indexes on large repositories. SkyVault applications will be accessible during reindex process.
- Point the new SkyVault deployment to the old database via the db.* properties in SkyVault-global.properties by providing the JDBC URL, database name, login credentials, and any other relevant configuration options. Remember to specify the relevant JDBC driver into your application server's classpath.