Skip to content

Commit 7cf7e1a

Browse files
stefnestorabdonpijpelinkelasticmachine
authored
[+DOC] Restore policies in restoring ILM indices (#90119) (#93141)
* [+DOC] Restore policies in restoring ILM indices 👋 howdy! This may need Asciidoc reformatting. Will you kindly add in express commentary on [Restore a managed Datastream or Index](https://www.elastic.co/guide/en/elasticsearch/reference/master/index-lifecycle-and-snapshots.html?edit) to also restore ILM policies as needed (via `include_global_state`). Otherwise, you induce ILM errors once ILM starts (and have to do a form of repeating the entire outlined procedure to get indices going through correctly.) * Apply suggestions from code review Co-authored-by: Abdon Pijpelink <[email protected]> Co-authored-by: Abdon Pijpelink <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Abdon Pijpelink <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
1 parent f0ab95e commit 7cf7e1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/reference/ilm/ilm-and-snapshots.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
[[index-lifecycle-and-snapshots]]
33
== Restore a managed data stream or index
44

5+
To <<restore-snapshot-api,restore>> managed indices, ensure that the {ilm-init}
6+
policies referenced by the indices exist. If necessary, you can restore
7+
{ilm-init} policies by setting
8+
<<restore-snapshot-api-request-body,`include_global_state`>> to `true`.
9+
510
When you restore a managed index or a data stream with managed backing indices,
611
{ilm-init} automatically resumes executing the restored indices' policies.
712
A restored index's `min_age` is relative to when it was originally created or rolled over,

0 commit comments

Comments
 (0)