Community Component 25.1
Community Component Help

# Archive Index Actions

You can configure the Content component to store a record of all index actions that it runs. You can use the archive of index actions to replay index actions, for example after you restore to a backup.

To configure the Content component to archive index actions

1. Open the Content component configuration file in a text editor.

2. In the `[Paths]` section, set the `ArchivePath` parameter to the path where you want to store the archive. For example:

       [Paths]
       ArchivePath=./archive

3. Save and close the configuration file.

4. Restart the Content component for your changes to take effect.

When you have configured `ArchivePath`, Content saves all index actions to the specified path. It also archives any state tokens that have been referenced in the `DREREPLACE`, `DRECHANGEMETA`, `DREDELETEDOC`, `DREEXPORTIDX`, `DREEXPORTXML`, and `DREEXPORTREMOTE` index actions.

During a `DREINITIAL` index action, Content stores the contents of the archive directory in a subdirectory, so that you can replay actions after you restore from a backup. If you restore to a time, Content automatically replays archived index actions between the last backup file and the restore time.

TIP: When you configure an `ArchivePath`, you can optionally stop Content from indexing a particular index action by using the `NoArchive` index action parameter for any index action.

However, if you use the `NoArchive` parameter for an index action that changes the state of the index, and then use `DREINITIAL` and `RestoreTime` to restore the index, the restore process does not include these changes, and the final index state might be different.

Related Topics

- Restore to a Time

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Community Component 25.1

Topic Title: Archive Index Actions