# Backup and Restore the Connector’s State

After configuring a connector, and while the connector is running, you can create a backup of the connector’s state. In the event of a failure, you can restore the connector’s state from the backup.

To create a backup, use the `backupServer` action. The `backupServer` action saves a ZIP file to a path that you specify. The backup includes:

- a copy of the `actions` folder, which stores information about actions that have been queued, are running, and have finished.
- a copy of the configuration file.
- a copy of the connector’s datastore files, which contain information about the files, records, or other data that the connector has retrieved from a repository.

## Backup a Connector’s State

To create a backup of the connectors state

- In the address bar of your Web browser, type the following action and press ENTER:

      http://host:port/action=backupServer&path=path

  where,

  `host` | The host name or IP address of the machine where the connector is running.
  `port` | The connector’s ACI port.
  `path` | The folder where you want to save the backup.

  For example:

      http://localhost:1234/action=backupServer&path=./backups

## Restore a Connector’s State

To restore a connector’s state

- In the address bar of your Web browser, type the following action and press ENTER:

      http://host:port/action=restoreServer&filename=filename

  where,

  `host` | The host name or IP address of the machine where the connector is running.
  `port` | The connector’s ACI port.
  `filename` | The path of the backup that you created.

  For example:

      http://localhost:1234/action=restoreServer&filename=./backups/filename.zip

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm