# Restore Snapshot while writing to indexes/data streams?

**URL:** <https://discuss.elastic.co/t/restore-snapshot-while-writing-to-indexes-data-streams/371407>\
**Category:** Elasticsearch\
**Tags:** datastreams, snapshot-and-restore\
**Created:** [December 3, 2024, 6:15pm UTC](https://discuss.elastic.co/t/restore-snapshot-while-writing-to-indexes-data-streams/371407 "2024-12-03T18:15:19Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Dave\_Houser](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dave_houser/32/72517_2.png) [@Dave\_Houser](https://discuss.elastic.co/u/Dave_Houser)\
**Post date:** [December 16, 2024, 4:32pm UTC](https://discuss.elastic.co/t/restore-snapshot-while-writing-to-indexes-data-streams/371407/12 "2024-12-16T16:32:35Z")

</div>

@RainTown Thanks for all your input on this. I think my process is valid, however I have one piece that is still an issue for me, is trying to figure out why restoring single indexes apart of a data stream does not restore their backing indexes.  
[The documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-restore-snapshot.html#get-snapshot-list) says snapshot restore data stream indexes and backing indexes

> If you restore a data stream, you also restore its backing indices.

But it also says it doesn't if its single indexes?

> You can restore only a specific backing index from a data stream. However, the restore operation doesn’t add the restored backing index to any existing data stream.

From my testing, on a fresh cluster, If I try to restore one or more indexes with a snapshot, the indices get restored, however the data streams do not have them in their backing index. Is this expected? I made a post about it here [The proper way to reindex a data stream index - Elastic Stack / Elasticsearch - Discuss the Elastic Stack](https://discuss.elastic.co/t/the-proper-way-to-reindex-a-data-stream-index/371102/2) if you're interested in more context.

---

_[View the full topic](https://discuss.elastic.co/t/restore-snapshot-while-writing-to-indexes-data-streams/371407)._
