# Snapshot retention policy

**URL:** <https://discuss.elastic.co/t/snapshot-retention-policy/299059>\
**Category:** Kibana\
**Tags:** slm-snapshot-lifecycle-management, snapshot-and-restore\
**Created:** [March 8, 2022, 8:57am UTC](https://discuss.elastic.co/t/snapshot-retention-policy/299059 "2022-03-08T08:57:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicole\_Hirshler](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicole_hirshler/32/77268_2.png) [@Nicole\_Hirshler](https://discuss.elastic.co/u/Nicole_Hirshler)\
**Post date:** [March 8, 2022, 8:57am UTC](https://discuss.elastic.co/t/snapshot-retention-policy/299059/1 "2022-03-08T08:57:05Z")

</div>

I'm not sure I understand how snapshots are working. I see that all snapshots are taken without errors according to the policy I have defined, but I do not see that old snapshots are ever deleted.  
You can see in the attached image that retention is set to 14 days, minimum number of snapshots is 5 and maximum is 30. When I check the repository I see that I have 60 snapshots, starting from January. When these snapshots are supposed to be deleted? I tried to apply cleanup but it did nothing.

 ![snapshots](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da1ec856c187d4ce5a8062d24f4048bc9b7431a1.png)

---

<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:** [April 5, 2022, 8:57am UTC](https://discuss.elastic.co/t/snapshot-retention-policy/299059/2 "2022-04-05T08:57:25Z")

</div>

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