Backing up and restoring Lifecycle Query Engine

You can back up and restore data that is indexed by Lifecycle Query Engine (LQE). The copy of the indexed data can be used in the future to restore LQE to a previous state.
Note: The server on which you are creating the backup must be mapped or mounted - URIs are not supported.

Before you begin

Before you can perform backups, you must specify a directory on the server as the backup directory. For more information, see Specifying a backup directory.

About this task

You can create a backup of the indexed data, which you can then use to restore the data to a previous state.

Procedure

  1. On the Lifecycle Query Engine Administration page, in the navigation pane, under Configuration, click Backup.

    Screen capture of the Backup wizard showing available time intervals for creating backups.

  2. You can back up LQE in the following ways:
    • To create backups on a regular schedule, in the Scheduled Backups section, click Edit. Select the time and days of the week when you want the backup to be created, and then select the backup directory.
    • To create a backup immediately, in the One Time Backup section, click Backup Now and select the backup directory. When you request a backup, it starts as soon as all the current activity finishes.

Restoring LQE from a backup directory

In the backup directory, you see a time-stamped directory or directories (if more than one backup was 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 that is used for full text searching of the triples: <JTSInstallDir>\server\conf\lqe\textIndex

Procedure

  1. Shut down the servlet engine that contains 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 that contains LQE.

Feedback