# Elastic repos

**URL:** <https://discuss.elastic.co/t/elastic-repos/75165>\
**Category:** Elasticsearch\
**Created:** [February 15, 2017, 9:06am UTC](https://discuss.elastic.co/t/elastic-repos/75165 "2017-02-15T09:06:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![raulk89](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@raulk89](https://discuss.elastic.co/u/raulk89)\
**Post date:** [February 15, 2017, 9:06am UTC](https://discuss.elastic.co/t/elastic-repos/75165/1 "2017-02-15T09:06:56Z")

</div>

Anyone know, where elasticsearch registered repos are saved..? (not the snapshots)

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [February 15, 2017, 10:14am UTC](https://discuss.elastic.co/t/elastic-repos/75165/2 "2017-02-15T10:14:34Z")

</div>

What kind of repos are you looking for? Debian / RPM packages, Docker, Maven?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 15, 2017, 10:18am UTC](https://discuss.elastic.co/t/elastic-repos/75165/3 "2017-02-15T10:18:44Z")

</div>

They are defined in the cluster state.

---

<div class="post-metadata">

**Author:** ![raulk89](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@raulk89](https://discuss.elastic.co/u/raulk89)\
**Post date:** [February 15, 2017, 10:53am UTC](https://discuss.elastic.co/t/elastic-repos/75165/4 "2017-02-15T10:53:35Z")

</div>

Just to clarify, I meant snapshot repos.

Ok, so, if I make snapshot and I would like to save repos also, then use "include\_global\_state": true and then it should be saved into my snapshot..?  
Or cluster state not included in include\_global\_state..?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 15, 2017, 11:28am UTC](https://discuss.elastic.co/t/elastic-repos/75165/5 "2017-02-15T11:28:29Z")

</div>

Hmmm. Good point. I don't know TBH and I can't look at the code now.  
Probably @abeyad can help here.

---

<div class="post-metadata">

**Author:** ![abeyad](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@abeyad](https://discuss.elastic.co/u/abeyad)\
**Post date:** [February 15, 2017, 2:50pm UTC](https://discuss.elastic.co/t/elastic-repos/75165/6 "2017-02-15T14:50:07Z")

</div>

Yes, if you set `include_global_state`, it will include the `MetaData` portion of the cluster state, which will include the repository info in your cluster.

---

<div class="post-metadata">

**Author:** ![raulk89](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@raulk89](https://discuss.elastic.co/u/raulk89)\
**Post date:** [February 15, 2017, 5:57pm UTC](https://discuss.elastic.co/t/elastic-repos/75165/7 "2017-02-15T17:57:15Z")

</div>

Ok, thanks a lot.

Raul

---

<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:** [March 15, 2017, 5:57pm UTC](https://discuss.elastic.co/t/elastic-repos/75165/8 "2017-03-15T17:57:42Z")

</div>

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