# Elastic Search / ILM / Snapshots S3/Minio

**URL:** <https://discuss.elastic.co/t/elastic-search-ilm-snapshots-s3-minio/338263>\
**Category:** Elasticsearch\
**Created:** [July 12, 2023, 10:28pm UTC](https://discuss.elastic.co/t/elastic-search-ilm-snapshots-s3-minio/338263 "2023-07-12T22:28:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![datencio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datencio/32/101671_2.png) [@datencio](https://discuss.elastic.co/u/datencio)\
**Post date:** [July 12, 2023, 10:28pm UTC](https://discuss.elastic.co/t/elastic-search-ilm-snapshots-s3-minio/338263/1 "2023-07-12T22:28:53Z")

</div>

I have been asked to do a POC to see how to properly configure our systems so that ILM will before it deletes an indice will take a snapshot of the indice and store it into S3/Minio. I have successfully updated the cluster with the s3 settings/access/secret keys and created the repo locally.

My question is how would I best go about configuring so that ILM will create a new snapshot (per indice) with the indice name/date, and then ensure it was snapshotted before trying to delete the indice. We want to ensure each indice has it's own snapshot so we can just easily restore that indice only as our different indicies will have different retention periods.

Any advice on this would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 12, 2023, 10:42pm UTC](https://discuss.elastic.co/t/elastic-search-ilm-snapshots-s3-minio/338263/2 "2023-07-12T22:42:59Z")

</div>

I think you need to read doc about SLM. [Create a snapshot | Elasticsearch Guide [8.8] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/snapshots-take-snapshot.html#automate-snapshots-slm)

Hope this helps

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 9, 2023, 10:43pm UTC](https://discuss.elastic.co/t/elastic-search-ilm-snapshots-s3-minio/338263/3 "2023-08-09T22:43:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
