Work with Snapshots

Snapshots provide backups of your Elasticsearch indices. You can use snapshots to recover from a failure when not enough availability zones are used to provide high availability or to recover from accidental deletion.

Before You Begin

To enable snapshots for your Elasticsearch clusters and to work with them, you must have configured a repository. After you have configured a snapshot repository, a snapshot is taken every 30 minutes or at the interval you specify through your user settings.

ECE keeps the latest 100 successful snapshots. Once your cluster has reached 100 snapshots, ECE removes old snapshots as new ones are taken. IMPORTANT: Snapshots back up all open indices. If you close an index, it is not included in snapshots and you will not be able to restore the data.

List Available Snapshots

To list all available snapshots:

  1. Log into the Cloud UI.
  2. On the Deployments page, select your deployment.

    Narrow the list of the deployments by name, ID, or choose from several other filters. Use a combination of them to further define the list.

  3. From the Elasticsearch menu, click Snapshots.

The list of available snapshots is shown, newest first. The listing shows when each snapshot was completed, how long it took, and whether the snapshot succeeded. Click on a specific snapshot to see additional details.

Restore a Snapshot

To restore a snapshot:

  1. Log into the Cloud UI.
  2. On the Deployments page, select your deployment.

    Narrow the list of the deployments by name, ID, or choose from several other filters. Use a combination of them to further define the list.

  3. From the Elasticsearch menu, click Snapshots.
  4. Click on a specific snapshot to see additional details and see the restore options.
  5. Optional: In the Restore Snapshot section, specify how you want to restore the snapshot. If you do not specify any options, all the open indices of the snapshot are restored on the cluster where the snapshot was taken.

    • In the Specify Indices field, you can limit which indices get restored by specifying only those indices that you want.
    • If the index already exists, use the Rename Indices section and the Match pattern and Replace with fields when you restore indices. You cannot restore to an existing index.
  6. Click Restore snapshot.