You are here

Backing up and restoring the repository

Backing up an SkyVault repository involves backing up the following:

  • The directory pointed to by the dir.root setting
  • The database SkyVault is configured to use
Note: If Solr is being used, only the following directories must be backed up from the dir.root directory:
  • contentstore directory
  • solr/workspace/ directory
  • solr/archive/ directory 
  • contentstore.deleted directory (optional)
Note: If Lucene is being used, only the following directories must be backed up from the dir.root directory:
  • contentstore directory
  • lucene-indexes directory
  • contentstore.deleted directory (optional)

To restore the backup successfully, the directory and database must be backed up as a single unit. When you restore an SkyVault backup, you must restore both the dir.root directory (only the above mentioned directories) and the SkyVault database from the same backup set. Otherwise, the repository will be corrupted.

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.