Open topic with navigation

# Restore Deleted Documents

If you used a `DREDELETEDOC` action to delete documents from the IDOL Content component data index, you can use a `DREUNDELETEDOC` action (case sensitive) to restore some or all the individual documents that you deleted. You can restore documents only if you have not run a `DRECOMPACT` index action since they were deleted (`DRECOMPACT` permanently removes unused documents and space from the index).

    http://ContentHost:indexPort/DREUNDELETEDOC?Docs=docIDs

where:

`ContentHost` | is the IP address or host name of the machine on which the IDOL Content component is installed.
`indexPort` | is the IDOL Content component index port (specified as `IndexPort` in the `[Server]` section of the IDOL Content component configuration file).
`docIDs` | is one or more individual document IDs or ranges of document IDs that specify deleted documents that you want to restore. Use one or a combination of the following two formats: `docID`. Specify the IDs of one or more deleted documents. If you want to specify multiple document IDs, separate them with plus symbols (there must be no space before or after a plus symbol). `range=[min_docID,max_docID]`. Enter the document ID of the first and last document in a range of deleted documents that you want to restore. If you want to combine the formats, separate them with plus symbols (there must be no space before or after a plus symbol).

For example:

    http://MyHost:20001/DREUNDELETEDOC?Docs=3+5+range=[7,10]

This action uses port `20001` to restore the documents with the DocIDs `3`, `5`, `7`, `8`, `9`, and `10` to the IDOL Content component, which is located on a machine with the host name `MyHost`.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm