Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 5.12 KB

tools.md

File metadata and controls

61 lines (41 loc) · 5.12 KB
mapped_pages applies_to
deployment
eck ess ece self

Backup, high availability, and resilience tools [high-availability]

Elastic provides comprehensive tools to safeguard data, ensure continuous availability, and maintain resilience. These tools are designed to support disaster recovery strategies, enabling businesses to protect critical information and minimize downtime, and maintain high availability in case of unexpected failures. In this section, you'll learn about these tools and how to implement them in your environment.

For strategies to design resilient clusters, see Availability and resilience.

::::{note} The snapshot and restore and cross-cluster replication features are currently not available for {{serverless-full}} projects. These features will be introduced in the future. For more information, refer to Serverless differences. ::::

Snapshot and restore

Snapshots in {{es}} are point-in-time backups that include your cluster's data, settings, and overall state. They capture all the information necessary to restore your cluster to a specific moment in time, making them essential for protecting data, recovering from unexpected issues, and transferring data between clusters. Snapshots are a reliable way to ensure the safety of your data and maintain the continuity of your operations.

You can perform the following tasks to manage snapshots and snapshot repositories:

  • Register a repository: Configure storage repositories (for example, S3, Azure, Google Cloud) to store snapshots. The way that you register repositories differs depending on your deployment method:

    • {{ech}}: Deployments come with a preconfigured S3 repository for automatic backups, simplifying the setup process. You can also register external repositories, such as Azure, and Google Cloud, for more flexibility.
    • {{ece}}: Repository configuration is managed through the {{ece}} user interface and automatically linked to deployments.
    • {{eck}} and self-managed deployments: Repositories must be configured manually.
  • Create snapshots: Manually or automatically create backups of your cluster.

  • Restore a snapshot: Recover indices, data streams, or the entire cluster to revert to a previous state. You can choose to restore specific parts of a snapshot, such as a single index, or perform a full restore.

To reduce storage costs for infrequently accessed data while maintaining access, you can also create searchable snapshots.

::::{note} Snapshot configurations vary across {{ech}}, {{ece}} (ECE), {{eck}} (ECK), and self-managed deployments. ::::

Cross-cluster replication (CCR)

Cross-cluster replication (CCR) is a feature in {{es}} that allows you to replicate data in real time from a leader cluster to one or more follower clusters. This replication ensures that data is synchronized across clusters, providing continuity, redundancy, and enhanced data accessibility.

CCR provides a way to automatically synchronize indices from a leader cluster to a follower cluster. This cluster could be in a different data center or even a different continent from the leader cluster. If the primary cluster fails, the secondary cluster can take over.

::::{note} CCR relies on remote clusters functionality to establish and manage connections between the leader and the follower clusters. ::::

You can perform the following tasks to manage cross-cluster replication: