Alibaba Cloud Elasticsearch allows you to create automatic and manual snapshots, restore data from snapshots, and configure shared Object Storage Service (OSS) repositories to ensure the reliability of your Elasticsearch cluster. This topic describes the use scenarios and limits of the preceding features. This topic also describes version compatibility of data restoration from 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 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 last 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 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 of 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 higher than that of the cluster for which the snapshots are created.

Version compatibility of data restoration from snapshots

Before you restore data from a snapshot to an Elasticsearch cluster, you must make sure that the version of the cluster in which the snapshot is created is compatible with the version of the destination cluster. You must also 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.

Snapshot-related version compatibility

Version of the cluster in which a snapshot is created Destination V6.8 cluster Destination cluster of a version ranging from V7.0 to V7.1 Destination cluster of a version ranging from V7.2 to V7.16
V5.0 to V5.6 Supported Not supported Not supported
V6.0 to V6.7 Supported Supported Supported
V6.8 Supported Not supported Supported
V7.0 to V7.1 Not supported Supported Supported
V7.2 to V7.16 Not supported Not supported Supported

You cannot restore data from snapshots created in a cluster of a later version to a cluster of an earlier version. For example, you cannot restore data from snapshots created in a V7.6.0 cluster to a V7.5.0 cluster.

Index-related version compatibility

Before you restore an index from a snapshot to an Elasticsearch cluster, you must make sure that the version of the cluster in which the index is created is compatible with the version of the destination cluster. If the version of the cluster in which the index is created is incompatible with the version of the destination cluster, the index cannot be restored.
Version of the cluster in which the index is created Destination V6.8 cluster Destination cluster of a version ranging from V7.0 to V7.1 Destination cluster of a version ranging from V7.2 to V7.16
V5.0 to V5.6 Supported Not supported Not supported
V6.0 to V6.7 Supported Supported Supported
V6.8 Supported Not supported Supported
V7.0 to V7.1 Not supported Supported Supported
V7.2 to V7.16 Not supported Not supported Supported

You cannot restore an index created in a cluster of a later version to a cluster of an earlier version. For example, you cannot restore an index created in a V7.6.0 cluster to a V7.5.0 cluster.

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