# Include\_global\_state in snapshot/restore

**URL:** <https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158>\
**Category:** Elasticsearch\
**Created:** [December 8, 2014, 11:05pm UTC](https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158 "2014-12-08T23:05:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhughes](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mhughes](https://discuss.elastic.co/u/mhughes)\
**Post date:** [December 8, 2014, 11:05pm UTC](https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158/1 "2014-12-08T23:05:20Z")

</div>

Could someone detail exactly what is re(stored) when you set this value to  
true? Some subset of values returned by /\_cluster/state?

Why would you ever want to set this to true?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/94ccdcf7-47ea-4448-8a6d-1d02130b8b58%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/94ccdcf7-47ea-4448-8a6d-1d02130b8b58%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Felipe\_Santos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felipe_santos/32/3511_2.png) [@Felipe\_Santos](https://discuss.elastic.co/u/Felipe_Santos)\
**Post date:** [August 14, 2015, 2:36pm UTC](https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158/2 "2015-08-14T14:36:13Z")

</div>

I would like to know too, what are the advantages and disadvantages?

---

<div class="post-metadata">

**Author:** ![casieowen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casieowen/32/8734_2.png) [@casieowen](https://discuss.elastic.co/u/casieowen)\
**Post date:** [June 13, 2016, 6:02pm UTC](https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158/3 "2016-06-13T18:02:52Z")

</div>

I'd like to know also. Why no answer in two years? 🙂

The only thing I see on [elastic.co](http://elastic.co) is "By setting include\_global\_state to false it’s possible to prevent the cluster global state to be stored as part of the snapshot."

Can someone help us out?

---

<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:** [July 5, 2016, 10:23pm UTC](https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158/4 "2016-07-05T22:23:58Z")

</div>

Global state includes cluster state, things like mappings, shard assignment etc.

---

<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 5, 2017, 10:37pm UTC](https://discuss.elastic.co/t/include-global-state-in-snapshot-restore/21158/5 "2017-07-05T22:37:46Z")

</div>


