Backing up the Search index manually

The Search index can be backed up and restored at a later date in the event of loss or corruption of data.


To back up the Search index manually, complete the following steps.
  1. Disable any regular indexing tasks that you have configured.
    To disable all tasks, enter the following command:
  2. Verify that indexing is not ongoing.
    For more information, see Verifying that index building is not taking place.
  3. Copy the entire index directory and its subdirectories to a secure backup location.
  4. Optional: When backing up the Search index, consider performing a full backup of the HOMEPAGE database.
    Note that the Search index has a dependency on data in the HOMEPAGE database.
  5. Re-enable your indexing task or tasks by performing one of the following steps:
    • If you had no tasks that were disabled before you completed step 1, then run the SearchService.enableAllTasks() command.
    • If you had specific tasks that were disabled before you completed step 1, then use the SearchService.enableTask(String taskname) command to enable those tasks.
      For example:
    The next indexing task to run resumes indexing at the point at which the restored index was last successfully indexed.