# How do SLM retention policies work in case of total node failures?

**URL:** <https://discuss.elastic.co/t/how-do-slm-retention-policies-work-in-case-of-total-node-failures/369949>\
**Category:** Elastic Search\
**Created:** [November 2, 2024, 7:51pm UTC](https://discuss.elastic.co/t/how-do-slm-retention-policies-work-in-case-of-total-node-failures/369949 "2024-11-02T19:51:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![moth](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@moth](https://discuss.elastic.co/u/moth)\
**Post date:** [November 2, 2024, 7:51pm UTC](https://discuss.elastic.co/t/how-do-slm-retention-policies-work-in-case-of-total-node-failures/369949/1 "2024-11-02T19:51:43Z")

</div>

Lets say I have a critical node failure and all data in my elasticsearch container A gets wiped including the created SLM retention policy.

Now a new container B is created with the same retention policy and snapshot repository containing all my old snapshots. Will this newly created retention policy apply to my old snapshots created by the SLM policy from container A or am I going to have to manually delete old snapshots?

Thanks in advance.

---

<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:** [November 30, 2024, 7:52pm UTC](https://discuss.elastic.co/t/how-do-slm-retention-policies-work-in-case-of-total-node-failures/369949/2 "2024-11-30T19:52:15Z")

</div>

Closed on November 30, 2024, 7:52pm UTC

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