New

The executive guide to generative AI

Read more
Loading

Snapshot and restore settings

Elastic Cloud Hosted Self Managed

The following cluster settings configure snapshot and restore.

snapshot.max_concurrent_operations

(Dynamic, integer) Maximum number of concurrent snapshot operations. Defaults to 1000.

This limit applies in total to all ongoing snapshot creation, cloning, and deletion operations. Elasticsearch will reject any operations that would exceed this limit.

azure.client.CLIENT_NAME.endpoint_suffix logo cloud
Allows providing the endpoint_suffix client setting for a non-internal Azure client used for snapshot/restore. Note that CLIENT_NAME should be replaced with the name of the created client.

The following cluster settings configure snapshot lifecycle management (SLM).

slm.history_index_enabled
(Dynamic, Boolean) Controls whether SLM records the history of actions taken as part of SLM policies to the slm-history-* indices. Defaults to true.

slm.retention_schedule
(Dynamic, cron scheduler value) Controls when the retention task runs. Can be a periodic or absolute time schedule. Supports all values supported by the cron scheduler. Defaults to daily at 1:30am UTC: 0 30 1 * * ?.

slm.retention_duration
(Dynamic, time value) Limits how long SLM should spend deleting old snapshots. Defaults to one hour: 1h.

slm.health.failed_snapshot_warn_threshold
(Dynamic, Long) The number of failed invocations since last successful snapshot that indicate a problem with the policy in the health api. Defaults to a health api warning after five repeated failures: 5L.

repositories.url.allowed_urls logo cloud

(Static) Specifies the read-only URL repositories that snapshots can be restored from.