# Best practice to delete old Snapshots on Elasticsearch 2.4

**URL:** <https://discuss.elastic.co/t/best-practice-to-delete-old-snapshots-on-elasticsearch-2-4/255063>\
**Category:** Elasticsearch\
**Created:** [November 11, 2020, 12:54pm UTC](https://discuss.elastic.co/t/best-practice-to-delete-old-snapshots-on-elasticsearch-2-4/255063 "2020-11-11T12:54:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Silas-91](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/silas-91/32/76806_2.png) [@Silas-91](https://discuss.elastic.co/u/Silas-91)\
**Post date:** [November 11, 2020, 12:54pm UTC](https://discuss.elastic.co/t/best-practice-to-delete-old-snapshots-on-elasticsearch-2-4/255063/1 "2020-11-11T12:54:08Z")

</div>

Hi all,

does anyone know the best way to delete the old snapshots at elasticsearch 2.4.  
And what will happen if I delete a snapshot from 5 days ago? These are incremental snapshots. How do they behave when restoring?

Thanks

---

<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:** [November 11, 2020, 1:28pm UTC](https://discuss.elastic.co/t/best-practice-to-delete-old-snapshots-on-elasticsearch-2-4/255063/2 "2020-11-11T13:28:54Z")

</div>

> [@Silas-91](#):
>
> does anyone know the best way to delete the old snapshots at elasticsearch 2.4.

Use the DELETE Snapshots API.

> [@Silas-91](#):
>
> And what will happen if I delete a snapshot from 5 days ago? These are incremental snapshots. How do they behave when restoring?

That's fine. Backups are incremental behind the scene but you can consider them as a full backup. So you can remove whatever snapshot you want. Elasticsearch will always keep the needed files around.

---

<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:** [December 9, 2020, 1:29pm UTC](https://discuss.elastic.co/t/best-practice-to-delete-old-snapshots-on-elasticsearch-2-4/255063/3 "2020-12-09T13:29:07Z")

</div>

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