# BackupServer

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

The backup includes:

- details of actions that have been queued, are running, and have finished.
- a copy of the configuration file.
- information about the files that the connector has retrieved.

Microsoft Teams Connector does not begin creating the backup until running tasks have finished. If a task is running, the action might take a long time to respond. Micro Focus recommends that you run this action at a time when tasks are not running.

Type: Synchronous

Parameter Name | Description
--- | ---
ActionID | A string to use to identify an ACI action.
Path | The folder in which to save the backup file.

## Example

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

## Response

A sample response appears below. The response includes the file name of the backup file.

    <autnresponse xmlns:autn="http://schemas.autonomy.com/aci/">
    	<action>BACKUPSERVER</action>
    	<response>SUCCESS</response>
    	<responsedata>
    		<filename>c:\temp\20130610T172951_10.2.105.35_7002.zip</filename>
    	</responsedata>
    </autnresponse>

## See Also

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

_FT_HTML5_bannerTitle.htm