Snapshot lifecycle management settings in Elasticsearchedit
These are the settings available for configuring snapshot lifecycle management (SLM).
Cluster-level settingsedit
-
slm.history_index_enabled
-
(Static, Boolean)
Controls whether SLM records the history of actions taken as part of SLM policies
to the
slm-history-*
indices. Defaults totrue
.
-
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
.
-
repositories.url.allowed_urls
- (Static) Specifies the read-only URL repositories that snapshots can be restored from.