Open topic with navigation

# DREINITIAL

Allows you to delete all data from your IDOL Server data index, and to reset the data index. `DREINITIAL` also clears the contents of the index queue, including any queued index actions.

You can also use `DREINITIAL` to restore a backup file (created by using the DREBACKUP index action) to an IDOL Server, using the following index action:

    http://IDOLhost:indexPort/DREINITIAL?path

where,

`IDOLhost` | is the IP address or host name of the machine on which DIH is installed.
`indexPort` | is the Distributed Index Handler index port (specified by the DIHPort parameter in the configuration file `[Server]` section).
`path` | is the path to the location of the IDOL Server backup, created by DREBACKUP.

Note: If you use `DREINITIAL` to restore from a backup, the index action is added to the backup event list. You can control the length of this list by using the `BackupListLength` configuration parameter in the IDOL Server configuration file.

The `DREINITIAL` index action initializes or restores only the index data files, and does not affect your configuration file. When you initialize the index, or restore from a backup, it does not overwrite any configuration file changes you have made.

Note: When you restore from a backup using `DREINITIAL`, IDOL Server does not reindex the data.

When you want to update a configuration parameter that requires you to reindex your data, you can use DREEXPORTIDX or DREEXPORTXML to export an IDX or XML file. You can then initialize your index, make your configuration changes and index the IDX or XML file back into IDOL Server.

## Examples

    http://12.3.4.56:20001/DREINITIAL?

This index action uses port `20001` to reset the data index of Distributed Index Handler, which is located on a machine with the IP address `12.3.4.56`.

    http://12.3.4.56:20001/DREINITIAL?E:\DataIndex_Backup

This index action uses port `20001` to restore the files backed up on `E:\DataIndex_Backup` to DIH, which is located on a machine with the IP address `12.3.4.56`.

## Parameters

Parameter | Description | Required
--- | --- | ---
ArchiveCleanupCutOffTime | The latest time for which you want to keep archives. |
HostDetails | Whether the restoration must use a backup directory based on a specific host and port combination. |
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action. |
IndexUID | An identification code for any document tracking events. |
InitialID | The ID of the `DREINITIAL` index action to process when multiple actions are sent. |
NoArchive | Turn off configured archiving for the index action. |
Path | The full path to the data backup. |
Priority | The priority for the index job. |
RestoreToTime | The time to which you want to restore your index. |

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm