# Restoring datastreams isn't working as planned

**URL:** <https://discuss.elastic.co/t/restoring-datastreams-isnt-working-as-planned/303870>\
**Category:** Kibana\
**Tags:** slm-snapshot-lifecycle-management, snapshot-and-restore\
**Created:** [May 3, 2022, 7:38pm UTC](https://discuss.elastic.co/t/restoring-datastreams-isnt-working-as-planned/303870 "2022-05-03T19:38:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanziee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seanziee/32/45151_2.png) [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Post date:** [May 3, 2022, 7:38pm UTC](https://discuss.elastic.co/t/restoring-datastreams-isnt-working-as-planned/303870/1 "2022-05-03T19:38:45Z")

</div>

I'm getting to about the end of my wits with trying to restore a backing index to a datastream.

Essentially I have a set up that I have a `datastream-1` with backing indices `.ds-datastream-1-2022-04.01` and `.ds-datastream-1-2022-05.01`.

I previously had `.ds-datastream-1-2022-03.01` that is deleted but currently in my snapshot and I'm trying to restore it. But it won't work, all attempts have failed. This is how I try and restore it. I have also tried to rename it, but nothing works.

 ![Screen Shot 2022-05-03 at 12.35.10 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/9/9956f86f78c5cfec266276990709a27b48aac272.png)  
Yes, I have a matching index template for this.

When I try this, there is no error message or no issue, but the datastream's index doesn't get recreated. There is no sign of it in the `Restore Status` Tab. I don't know what else I can do. I'm on version 7.16.3, I suspect because my ILM would make that one as delete, potentially that's why? But I don't know how to prevent that.

Thanks.

---

<div class="post-metadata">

**Author:** ![seanziee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seanziee/32/45151_2.png) [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Post date:** [May 4, 2022, 12:12am UTC](https://discuss.elastic.co/t/restoring-datastreams-isnt-working-as-planned/303870/2 "2022-05-04T00:12:32Z")

</div>

Also, if I put in the datastream itself, it will overwrite the current active data I have, with the data from the snapshot which is not ideal.

---

<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:** [June 1, 2022, 12:13am UTC](https://discuss.elastic.co/t/restoring-datastreams-isnt-working-as-planned/303870/3 "2022-06-01T00:13:04Z")

</div>

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