Backup and restore LQE

Lifecycle Query Engine provides the ability to back up and restore indexed data. This copy may be used in the future to restore Lifecycle Query Engine to a past state.

About this task

There are two ways to back up LQE:
Note: You will need to specify a directory on the server as the backup directory. This directory must be created before you can schedule backups or perform a one time backup.

What is backed up?

In the backup directory, you will see a timestamped directory or directories (if more than one backup has been performed) containing the following directories:
  • indexTdb: This directory is a backup of the LQE index database: <JTSInstallDir>\server\conf\lqe\indexTdb
  • metadata: Contains backup properties and settings. The content of this directory does not need to be restored.
  • textIndex: This directory is a backup of the LQE lucene index which is used for full text searching of the triples: <JTSInstallDir>\server\conf\lqe\textIndex

To restore backed up LQE indexed data:

Procedure

  1. Shut down the servlet engine containing LQE.
  2. Rename the server's current LQE indexes.
    1. Rename the directory indexTdb in <JTSInstallDir>\server\conf\lqe\indexTdb
    2. Rename the directory textIndex in <JTSInstallDir>\server\conf\lqe\textIndex
  3. Copy the backed-up LQE indexes to the server.
    1. Copy the backed up directory Backup<timestamp>\indexTdb into <JTSInstallDir>\server\conf\lqe
    2. Copy the backed up directory Backup<timestamp>\textIndex into <JTSInstallDir>\server\conf\lqe
  4. Edit the file <JTSInstallDir>\server\conf\lqe\lqe.properties. Set the property lqe.restore=true.
  5. Start the servlet engine containing LQE.

Feedback