# Re-using mappings

**URL:** <https://discuss.elastic.co/t/re-using-mappings/77191>\
**Category:** Elasticsearch\
**Created:** [March 2, 2017, 5:19pm UTC](https://discuss.elastic.co/t/re-using-mappings/77191 "2017-03-02T17:19:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mc1392](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mc1392](https://discuss.elastic.co/u/mc1392)\
**Post date:** [March 2, 2017, 5:19pm UTC](https://discuss.elastic.co/t/re-using-mappings/77191/1 "2017-03-02T17:19:42Z")

</div>

My ES crashed but is now back online.  
In the process, I lost all of my Kibana command history.

I retrieved the mappings using:  
`GET /my_index/_mapping`

Can I copy past the response and re-use that as my mapping?  
Meaning, when I retrieve the mappings, are the same as when I entered them?

---

<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:** [March 5, 2017, 9:54pm UTC](https://discuss.elastic.co/t/re-using-mappings/77191/2 "2017-03-05T21:54:11Z")

</div>

> [@mc1392](#):
>
> Can I copy past the response and re-use that as my mapping?

Yes.

---

<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:** [April 2, 2017, 9:54pm UTC](https://discuss.elastic.co/t/re-using-mappings/77191/3 "2017-04-02T21:54:39Z")

</div>

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