# Elasticsearch snapshot retention

**URL:** <https://discuss.elastic.co/t/elasticsearch-snapshot-retention/232706>\
**Category:** Elasticsearch\
**Created:** [May 14, 2020, 8:36pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-retention/232706 "2020-05-14T20:36:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cm-vdp](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cm-vdp](https://discuss.elastic.co/u/cm-vdp)\
**Post date:** [May 14, 2020, 8:36pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-retention/232706/1 "2020-05-14T20:36:10Z")

</div>

Recently I am responsible for our ELK-environment (6.6). It has run for 2 years without any management. For me it's a black box but I'm learning.  
First thing I want to tackle is a correct backup solution.  
I know elasticsearch is using snapshots. But i have a question about retention.  
On daily base I create 1 snapshot and a want a retention of 10 days. Can I remove on the eleventh day the first snapshot, on day 12 the second and so on ... ? Or how do I remove old snapshot without breaking the consistency ?  
Thanks in advance.

---

<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:** [May 14, 2020, 8:59pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-retention/232706/2 "2020-05-14T20:59:47Z")

</div>

You can consider a snapshot as a full backup. Which means that you can remove whatever snapshot you want, it won't affect the other snapshots.

---

<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 11, 2020, 8:59pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-retention/232706/3 "2020-06-11T20:59:47Z")

</div>

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