# RestoreServer

The `RestoreServer` action restores a server's state from a backup created by the BackupServer action.

The DIH will only restore data from a backup if it has the same number of child engines and engine groups configured as it did when the backup was made.

Type: Synchronous

Parameter Name | Description
--- | ---
ActionID | A string to use to identify an ACI action.
Filename | The path of the directory that contains the backup files.
PreserveQueue | (Boolean, default `FALSE`) To keep the current index queue, rather than restoring the index queue from the backup, set this parameter to `TRUE`.

## Example

    http://host:port/action=RestoreServer&filename=./backups/20220211T102316_10.0.0.1_9070

## Response

    <autnresponse xmlns:autn="http://schemas.autonomy.com/aci/">
        <action>RESTORESERVER</action>
        <response>SUCCESS</response>
        <responsedata></responsedata>
    </autnresponse>

_FT_HTML5_bannerTitle.htm