# Restoring deleted indexes from a data stream

**URL:** <https://discuss.elastic.co/t/restoring-deleted-indexes-from-a-data-stream/292512>\
**Category:** Elasticsearch\
**Tags:** datastreams, snapshot-and-restore\
**Created:** [December 20, 2021, 11:29pm UTC](https://discuss.elastic.co/t/restoring-deleted-indexes-from-a-data-stream/292512 "2021-12-20T23:29:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Post date:** [December 20, 2021, 11:29pm UTC](https://discuss.elastic.co/t/restoring-deleted-indexes-from-a-data-stream/292512/1 "2021-12-20T23:29:52Z")

</div>

I bungled setting up the retention policy for a data stream with the result that a bunch of indexes have been deleted when they should not have been.

I have snapshots of most of the indexes scattered across several snapshots but the kibana restore interface only presents the data stream as a whole.

What is the expected manner of doing a restore like this?

---

<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:** [January 17, 2022, 11:30pm UTC](https://discuss.elastic.co/t/restoring-deleted-indexes-from-a-data-stream/292512/2 "2022-01-17T23:30:15Z")

</div>

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