# How to restore one index from a multi index snapshot

**URL:** https://discuss.elastic.co/t/how-to-restore-one-index-from-a-multi-index-snapshot/364608
**Category:** Elasticsearch
**Tags:** snapshot-and-restore
**Created:** [August 8, 2024, 12:53pm UTC](https://discuss.elastic.co/t/how-to-restore-one-index-from-a-multi-index-snapshot/364608 "2024-08-08T12:53:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shrm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrm/32/131044_2.png) [@shrm](https://discuss.elastic.co/u/shrm)
#### Post date: [August 8, 2024, 12:53pm UTC](https://discuss.elastic.co/t/how-to-restore-one-index-from-a-multi-index-snapshot/364608/1 "2024-08-08T12:53:19Z")

</div>

Hi, I have a weekly backup from all of the indexes. I lost one of the indexes and want to restore it but not all of the indexes. I will make the separate index snapshots later. But now I need to restore this index only not all of them. Do you have any idea how I can do that?

I have more than 20 index and cannot delete all of them to restore this one (data\_index).

I found something like:

```auto
POST /_snapshot/es_repo/my-index-2024.08.03-hloltm5brfyyntt1mrhqcg/_restore
{
  "indices": "data_index",
  "ignore_unavailable": true,
  "include_global_state": false,
  "wait_for_completion": true
}

```

---

<div class="post-metadata">

### Author: ![shrm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrm/32/131044_2.png) [@shrm](https://discuss.elastic.co/u/shrm)
#### Post date: [August 8, 2024, 8:50pm UTC](https://discuss.elastic.co/t/how-to-restore-one-index-from-a-multi-index-snapshot/364608/2 "2024-08-08T20:50:14Z")

</div>

I made multiple snapshots from all of the rest of the indexes, deleted everything, and restored all at once.

It works for me although that is not the best way but the only way I come up with.

---

<div class="post-metadata">

### Author: ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)
#### Post date: [August 8, 2024, 9:04pm UTC](https://discuss.elastic.co/t/how-to-restore-one-index-from-a-multi-index-snapshot/364608/3 "2024-08-08T21:04:45Z")

</div>

Thanks for sharing your solution, @shrm.
