# Restore Elasticsearch index

**URL:** https://discuss.elastic.co/t/restore-elasticsearch-index/137301
**Category:** Elasticsearch
**Created:** [June 25, 2018, 5:24pm UTC](https://discuss.elastic.co/t/restore-elasticsearch-index/137301 "2018-06-25T17:24:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gregory\_Fisher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregory_fisher/32/32663_2.png) [@Gregory\_Fisher](https://discuss.elastic.co/u/Gregory_Fisher)
#### Post date: [June 25, 2018, 5:24pm UTC](https://discuss.elastic.co/t/restore-elasticsearch-index/137301/1 "2018-06-25T17:24:15Z")

</div>

Hi for the all  
i have 2 Elasticsearch (1 for PROD and 1 for DEV Environment)  
and i already set a NFS partition (repository) for backup ALL indexes from PROD through bash script.  
and we have the same indexes on the DEV Elasticsearch but with different data within. and today developer said that he wants a full copy of 2 indexes from PROD to DEV. i've already have full index backup!  
I Know how to restore all indexes, but how can i choose the only 2 indexes? not the full restore of indexes?  
for example i have snapshot which countains this guys

"snapshot" : "elasticsearch\_all\_indicies\_25\_06\_2018",  
"uuid" : "aGzmhyOkmlkfmflnslndfs",  
"version\_id" : 5060699,  
"version" : "5.6.6",  
"indices" : [  
"banners",  
"products",  
"catalogs",  
"darbiz",  
".kibana",  
"invoices",  
"bundles",  
"groups",  
"searchitems",  
"params",  
"orders"  
],  
"state" : "SUCCESS",  
"start\_time" : "2018-06-24T23:30:01.978Z",  
"start\_time\_in\_millis" : 1529883001978,  
"end\_time" : "2018-06-24T23:30:06.765Z",  
"end\_time\_in\_millis" : 1529883006765,  
"duration\_in\_millis" : 4787,  
"failures" : [],  
"shards" : {  
"total" : 75,  
"failed" : 0,  
"successful" : 75  
}  
}  
]  
}

and for example i need to restore to DEV only orders and params indexes, not the whole set, how can i do that? thank you

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 26, 2018, 11:29pm UTC](https://discuss.elastic.co/t/restore-elasticsearch-index/137301/2 "2018-06-26T23:29:49Z")

</div>

Per [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#\_restore](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_restore) you can use `"indices"` to specify specific indexes to restore.

---

<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 24, 2018, 11:30pm UTC](https://discuss.elastic.co/t/restore-elasticsearch-index/137301/3 "2018-07-24T23:30:03Z")

</div>

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