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 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.

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. Click on a cluster name from the Clusters panel and 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 the name a snapshot to see additional details.

Restore a Snapshot

To restore a snapshot:

  1. Log into the Cloud UI.
  2. Click on a cluster name from the Clusters panel and click Snapshots.
  3. Click on the name a snapshot to see the snapshot details.
  4. Optional: In the Restore Snapshot section, specify how you want to restore the snapshot. If you do not specify any options, all the 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.

    You might need to specify values in the Match pattern and Replace with fields when you restore indices, as you cannot restore to an index that already exists.

  5. Click Restore snapshot.