mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Previously, the restore API snippet included a `include_global_state` value of `true`. Some users copy and paste the code example verbatim, updating only the index and snapshot value names. Running the snippet could inadvertently wipe out a cluster's current ILM policies, index templates, and ingest pipelines. This change updates the snippet to use a `include_global_state` value of `false`. It also adds a callout that better describes impacts of using a `include_global_state` argument of `true`. Co-authored-by: Mike Wong <mike.wong@elastic.co> Co-authored-by: James Rodewig <james.rodewig@elastic.co> Co-authored-by: David Turner <david.turner@elastic.co>