# Incremental snapshots - delete index, take another snapshot and then restore the index

**URL:** https://discuss.elastic.co/t/incremental-snapshots-delete-index-take-another-snapshot-and-then-restore-the-index/56919
**Category:** Elasticsearch
**Created:** [August 1, 2016, 6:45pm UTC](https://discuss.elastic.co/t/incremental-snapshots-delete-index-take-another-snapshot-and-then-restore-the-index/56919 "2016-08-01T18:45:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![elssar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elssar/32/9216_2.png) [@elssar](https://discuss.elastic.co/u/elssar)
#### Post date: [August 1, 2016, 6:45pm UTC](https://discuss.elastic.co/t/incremental-snapshots-delete-index-take-another-snapshot-and-then-restore-the-index/56919/1 "2016-08-01T18:45:33Z")

</div>

Hi,

My cluster has manual snapshots taken every 30 minutes. The indicies are rotated monthly, and all similar indices are part of the same alias.

I'm planning on retiring some of the older indices.

This is probably a dumb question - Will the next time a snapshot runs after I delete the indices also delete them from the snapshot? That is, will I be able to restore deleted indices after newer snapshots are taken?

Is it safer for me to register a separate snapshot for the indices I'm deleting?

---

<div class="post-metadata">

### Author: ![DiscussBuster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/discussbuster/32/11042_2.png) [@DiscussBuster](https://discuss.elastic.co/u/DiscussBuster)
#### Post date: [August 2, 2016, 2:48am UTC](https://discuss.elastic.co/t/incremental-snapshots-delete-index-take-another-snapshot-and-then-restore-the-index/56919/2 "2016-08-02T02:48:54Z")

</div>

The next time you run a snapshot, it will have a unique name. In the repo metadata, it will have references to exactly the segments/shards/indices that were comprised the indices you named in your snapshot command. It will not _remove_ anything from the repo.

The snapshots that you took previously will still have the references that they had when you took them, and the segments referred to will be preserved in the repo unless and until you delete from the repo all snapshots which have references to those segments.

If you restore a snapshot, it will restore all of the segments/shards/indices that were copied from the cluster when you took that snapshot.

---

<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: [July 5, 2017, 10:31pm UTC](https://discuss.elastic.co/t/incremental-snapshots-delete-index-take-another-snapshot-and-then-restore-the-index/56919/3 "2017-07-05T22:31:02Z")

</div>


