# Does snapshot lifecycle management track the deletion

**URL:** <https://discuss.elastic.co/t/does-snapshot-lifecycle-management-track-the-deletion/272651>\
**Category:** Elasticsearch\
**Tags:** slm-snapshot-lifecycle-management\
**Created:** [May 11, 2021, 8:44am UTC](https://discuss.elastic.co/t/does-snapshot-lifecycle-management-track-the-deletion/272651 "2021-05-11T08:44:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [May 11, 2021, 8:44am UTC](https://discuss.elastic.co/t/does-snapshot-lifecycle-management-track-the-deletion/272651/1 "2021-05-11T08:44:03Z")

</div>

Hi,

I just wanted to get this confirmed though I strongly feel that snapshot policy takes a backup only of an index.

I have configured ILM to delete indices older than a week. Snapshot policy will be taking backups of the same indices everyday and storing them in S3 buckets.

What happens when week old indices are deleted from the cluster? My understanding is that the snapshot policy will not delete the snapshots of indices which were deleted. It will be driven by its own retention policy which I will set.

Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 12, 2021, 12:23am UTC](https://discuss.elastic.co/t/does-snapshot-lifecycle-management-track-the-deletion/272651/2 "2021-05-12T00:23:52Z")

</div>

> [@pk.241011](#):
>
> My understanding is that the snapshot policy will not delete the snapshots of indices which were deleted. It will be driven by its own retention policy which I will set.

Yep, that's correct 🙂

---

<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:** [June 9, 2021, 12:24am UTC](https://discuss.elastic.co/t/does-snapshot-lifecycle-management-track-the-deletion/272651/3 "2021-06-09T00:24:47Z")

</div>

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