Backing up the Search index manuallyAdded by IBM on February 11, 2013 | Version 1 (Original)
|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.
- Disable any regular indexing tasks that you have configured.
To disable all tasks, enter the following command:
- Verify that indexing is not ongoing.
For more information, see Verifying that index building is not taking place.
- Copy the entire index directory and its subdirectories to a secure backup location.
- 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.
- 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.
The next indexing task to run resumes indexing at the point at which the restored index was last successfully indexed.
Parent topic: Backing up the Search index
Restoring the Search index
Backing up the Search index using wsadmin commands
Enabling and disabling scheduled tasks
Listing scheduled tasks
Deleting scheduled tasks for Search
Verifying that index building is not taking place