# Can We move mapping and template without moving data with snapshot and restore?

**URL:** <https://discuss.elastic.co/t/can-we-move-mapping-and-template-without-moving-data-with-snapshot-and-restore/320857>\
**Category:** Elasticsearch\
**Created:** [December 9, 2022, 6:14am UTC](https://discuss.elastic.co/t/can-we-move-mapping-and-template-without-moving-data-with-snapshot-and-restore/320857 "2022-12-09T06:14:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijaykumar\_Deshmukh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijaykumar_deshmukh1/32/112786_2.png) [@Vijaykumar\_Deshmukh1](https://discuss.elastic.co/u/Vijaykumar_Deshmukh1)\
**Post date:** [December 9, 2022, 6:14am UTC](https://discuss.elastic.co/t/can-we-move-mapping-and-template-without-moving-data-with-snapshot-and-restore/320857/1 "2022-12-09T06:14:12Z")

</div>

Is it Possible?

like i dont want take snapshot of any index but just want to take snapshot of cluster state  
and restore it !

---

<div class="post-metadata">

**Author:** ![Yatharth\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yatharth_singh/32/104451_2.png) [@Yatharth\_Singh](https://discuss.elastic.co/u/Yatharth_Singh)\
**Post date:** [December 9, 2022, 6:15am UTC](https://discuss.elastic.co/t/can-we-move-mapping-and-template-without-moving-data-with-snapshot-and-restore/320857/2 "2022-12-09T06:15:55Z")

</div>

We have to take snapshot of atleast 1 index and cluster state I guess.  
Then it is possible to move mapping and template. Hope this helps you

---

<div class="post-metadata">

**Author:** ![Vijaykumar\_Deshmukh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijaykumar_deshmukh1/32/112786_2.png) [@Vijaykumar\_Deshmukh1](https://discuss.elastic.co/u/Vijaykumar_Deshmukh1)\
**Post date:** [December 9, 2022, 6:16am UTC](https://discuss.elastic.co/t/can-we-move-mapping-and-template-without-moving-data-with-snapshot-and-restore/320857/3 "2022-12-09T06:16:56Z")

</div>

that what i thinking we need at least one index in snapshot.

---

<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:** [January 6, 2023, 6:17am UTC](https://discuss.elastic.co/t/can-we-move-mapping-and-template-without-moving-data-with-snapshot-and-restore/320857/4 "2023-01-06T06:17:02Z")

</div>

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