mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[DOCS] Clarify when SLM deletes expired snapshots (#73155)
Changes: * Removes an error in the create SLM policy API's `schedule` parameter def. `schedule` is not used to delete expired snapshots. * Updates the `expire_after` parameter def to mention the `slm.retention_schedule` cluster setting.
This commit is contained in:
parent
d9b39d377e
commit
7b64caee16
1 changed files with 4 additions and 3 deletions
|
@ -94,7 +94,8 @@ Retention rules used to retain and delete snapshots created by the policy.
|
||||||
`expire_after`::
|
`expire_after`::
|
||||||
(Optional, <<time-units, time units>>)
|
(Optional, <<time-units, time units>>)
|
||||||
Time period after which a snapshot is considered expired and eligible for
|
Time period after which a snapshot is considered expired and eligible for
|
||||||
deletion.
|
deletion. {slm-init} deletes expired snapshots based on the
|
||||||
|
<<slm-retention-schedule,`slm.retention_schedule`>>.
|
||||||
|
|
||||||
`max_count`::
|
`max_count`::
|
||||||
(Optional, integer)
|
(Optional, integer)
|
||||||
|
@ -113,8 +114,8 @@ Minimum number of snapshots to retain, even if the snapshots have expired.
|
||||||
|
|
||||||
`schedule`::
|
`schedule`::
|
||||||
(Required, <<cron-expressions,Cron syntax>>)
|
(Required, <<cron-expressions,Cron syntax>>)
|
||||||
Periodic or absolute schedule at which the policy creates snapshots and deletes
|
Periodic or absolute schedule at which the policy creates snapshots. {slm-init}
|
||||||
expired snapshots. Schedule changes to existing policies are applied immediately.
|
applies `schedule` changes immediately.
|
||||||
|
|
||||||
[[slm-api-put-example]]
|
[[slm-api-put-example]]
|
||||||
==== {api-examples-title}
|
==== {api-examples-title}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue