# Elasticsearch snapshots

**URL:** <https://discuss.elastic.co/t/elasticsearch-snapshots/253121>\
**Category:** Elasticsearch\
**Created:** [October 23, 2020, 11:16am UTC](https://discuss.elastic.co/t/elasticsearch-snapshots/253121 "2020-10-23T11:16:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KA3AXCTAH](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@KA3AXCTAH](https://discuss.elastic.co/u/KA3AXCTAH)\
**Post date:** [October 23, 2020, 11:16am UTC](https://discuss.elastic.co/t/elasticsearch-snapshots/253121/1 "2020-10-23T11:16:07Z")

</div>

I have many (10+) Elasticsearch clusters, and this clusters is use for different purposes (storing logs, storing some business and analytical data) So for example i have a 3-node elasticsearch cluster used for some business data (users shopping carts in e-commerce website) and i take snapshots every day and this cluster makes snapshots to NFS share, and my admins told me that i must to clear last 10 snapshots from the snapshot repository to free disk space. And for example the somebody/or me accidentally launch `curl -XDELETE/*` which delete all indices in my cluster, and i must to restore all business data which was here, and i have only 10 snapshots from 10 last days, can i restore all the data? or it restore data only from the last snapshots date? because in the documentations said that ` Snapshots are incremental: each snapshot only stores data that is not part of an earlier snapshot` so for example the customer Joe in my website add something to cart in 01/09/2020, then in the 15/09/2020 i delete all data from cluster, and my last snapshot in snapshot repository is /03/09/2020 so if i restore from this snapshot, this snapshot will contain old data or not? sorry for my bad english

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [October 23, 2020, 11:24am UTC](https://discuss.elastic.co/t/elasticsearch-snapshots/253121/2 "2020-10-23T11:24:50Z")

</div>

Hi,

If you delete the 10 oldest snapshots you will still be able to restore all the data. When deleting a snapshot ElasticSearch only deletes the data which is not referenced by another snapshot so no data will be lost.

Best regards  
Wolfram

---

<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 20, 2020, 11:25am UTC](https://discuss.elastic.co/t/elasticsearch-snapshots/253121/3 "2020-11-20T11:25:27Z")

</div>

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