# Cannot restore index

**URL:** <https://discuss.elastic.co/t/cannot-restore-index/273910>\
**Category:** Elasticsearch\
**Created:** [May 25, 2021, 9:02am UTC](https://discuss.elastic.co/t/cannot-restore-index/273910 "2021-05-25T09:02:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuyen](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@Tuyen](https://discuss.elastic.co/u/Tuyen)\
**Post date:** [May 25, 2021, 9:02am UTC](https://discuss.elastic.co/t/cannot-restore-index/273910/1 "2021-05-25T09:02:56Z")

</div>

# Backup and index to a gzip using stdout:

elasticdump   
--input=[http://production.es.com:9200/my\_index](http://production.es.com:9200/my_index)   
--output=$   
| gzip \> /data/my\_index.json.gz

After dump index to my\_index.json.gz success I cannot restore them. So how can i restore index with **my\_index.json.gz** file ?

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:** [May 25, 2021, 11:08pm UTC](https://discuss.elastic.co/t/cannot-restore-index/273910/2 "2021-05-25T23:08:04Z")

</div>

Welcome to our community! 😃

We don't directly support the use of elasticdump here, you will need to consult the developer of that tool.  
If you have questions on [Snapshot and restore | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html), we can help.

---

<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 22, 2021, 11:08pm UTC](https://discuss.elastic.co/t/cannot-restore-index/273910/3 "2021-06-22T23:08:07Z")

</div>

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