All Products
Search
Document Center

Elasticsearch:Data backup overview

Last Updated:Feb 28, 2024

Alibaba Cloud Elasticsearch provides various features that are used to back up data. If you need to back up data in an Alibaba Cloud Elasticsearch cluster to ensure data reliability, you can select a feature based on your business requirements. This topic describes the use scenarios and limits of these features. Alibaba Cloud Elasticsearch allows you to create automatic and manual snapshots and restore data from the snapshots.

Features

Feature

Use scenario

Limit

Create automatic snapshots and restore data from automatic snapshots

You want the system to automatically back up data on a regular basis.

  • Data in the snapshots can be restored only to the cluster for which the snapshots are created.

  • The system stores only the snapshots that are created over the previous seven days.

Create manual snapshots and restore data from manual snapshots

  • You want to use commands to manually back up data.

  • You want to restore data from snapshots to a cluster that resides in the same region as the cluster for which the snapshots are created.

  • You must activate Object Storage Service (OSS) and create a bucket in the same region as the clusters.

  • Data cannot be automatically backed up on a regular basis.

Enable automatic creation of snapshots and store the snapshots to an OSS repository

You want the system to automatically create snapshots for a cluster and store the snapshots in a shared OSS repository.

You must activate OSS and create a bucket in the same region as the cluster.

Configure a shared OSS repository

You want to restore data from the automatic snapshots created for a cluster to another cluster.

  • The two clusters must reside in the same region and belong to the same Alibaba Cloud account.

  • The version of the destination cluster must be the same as or later than the version of the cluster for which the snapshots are created. For example, you are not allowed to restore data from snapshots created for a V7.6.0 cluster to a V7.5.0 cluster. For more information, see Version compatibility.

Version compatibility

Before you restore data from a snapshot to a cluster, you must make sure that the version of the cluster in which the index to be restored is created is compatible with the version of the destination cluster. Otherwise, the data fails to be restored.

The following table provides the version compatibility.

Version of the cluster in which the index to be restored is created

Version of a destination cluster

V6.8

V7.0 to V7.1

V7.2 to V7.16

V8.0 to V8.2

V8.3 to V8.5

V5.0 to V5.6

Supported

Not supported

Not supported

Not supported

Supported

V6.0 to V6.7

Supported

Supported

Supported

Not supported

Supported

V6.8

Supported

Not supported

Supported

Not supported

Supported

V7.0 to V7.1

Not supported

Supported

Supported

Supported

Supported

V7.2 to V7.16

Not supported

Not supported

Supported

Supported

Supported

V8.0 to V8.5

Not supported

Not supported

Not supported

Supported

Supported

Note
  • You are not allowed to restore data from snapshots created for a cluster of a later version to a cluster of an earlier version.

  • For more information about version compatibility of data restoration from snapshots, see Snapshot compatibility.