# BackupServer

The `BackupServer` action creates a backup that can be used to restore the server's state.

The backup includes:

- a copy of the configuration file (but this is not restored by the RestoreServer action)
- the data in the index queue
- state information for consistent hashing

Type: Synchronous

Parameter Name | Description
--- | ---
ActionID | A string to use to identify an ACI action.
Path | The folder in which to save the backup files. The DIH appends a subfolder with a name that includes the current time, so if you specify `./backups`, the backup files are copied to a folder such as `./backups/20220211T102316_10.0.0.1_9070`.

## Example

    http://host:port/action=BackupServer&path=./backups

## Response

A sample response appears below.

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

## See Also

To restore the server's state from the backup, use the RestoreServer action.

_FT_HTML5_bannerTitle.htm