# Snapshots (only backup before delete)?

**URL:** <https://discuss.elastic.co/t/snapshots-only-backup-before-delete/338809>\
**Category:** Elasticsearch\
**Created:** [July 19, 2023, 4:39pm UTC](https://discuss.elastic.co/t/snapshots-only-backup-before-delete/338809 "2023-07-19T16:39:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![datencio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datencio/32/101671_2.png) [@datencio](https://discuss.elastic.co/u/datencio)\
**Post date:** [July 19, 2023, 4:39pm UTC](https://discuss.elastic.co/t/snapshots-only-backup-before-delete/338809/1 "2023-07-19T16:39:36Z")

</div>

We are wanting to use Elastic Search Snapshots, but we are trying to keep costs down. It appears from what I am reading that the Snapshot feature wants to backup all indices that match a pattern, however we are only wanting to backup the indice just before it is deleted (so save on disk space used). Is there a way to accomplish this?

---

<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:** [July 24, 2023, 6:22am UTC](https://discuss.elastic.co/t/snapshots-only-backup-before-delete/338809/2 "2023-07-24T06:22:16Z")

</div>

I think that if you are using ILM, there's [this policy](https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-wait-for-snapshot.html) which might help.

But what triggers the Delete operation on your cluster?

---

<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:** [August 21, 2023, 6:23am UTC](https://discuss.elastic.co/t/snapshots-only-backup-before-delete/338809/3 "2023-08-21T06:23:06Z")

</div>

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