# How to take backup of elasticsearch service config?

**URL:** <https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321>\
**Category:** Elasticsearch\
**Created:** [March 23, 2018, 8:05am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321 "2018-03-23T08:05:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![SathishKannan](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SathishKannan](https://discuss.elastic.co/u/SathishKannan)\
**Post date:** [March 23, 2018, 8:05am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/1 "2018-03-23T08:05:25Z")

</div>

how to take backup of config /etc/elasticsearch//conf..?

---

<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 23, 2018, 8:12am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/2 "2018-03-23T08:12:53Z")

</div>

How did you install it?

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [March 23, 2018, 8:19am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/3 "2018-03-23T08:19:28Z")

</div>

can you pls explain a bit what you want to do exactly??

---

<div class="post-metadata">

**Author:** ![SathishKannan](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SathishKannan](https://discuss.elastic.co/u/SathishKannan)\
**Post date:** [March 23, 2018, 8:24am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/4 "2018-03-23T08:24:32Z")

</div>

I have two cluster. One is general and another one is production. In one cluster I have 4 nodes Suppose if any one node or all the four nodes down, how i will take backup of elk stack config?

---

<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 23, 2018, 8:27am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/5 "2018-03-23T08:27:53Z")

</div>

Right, so how did you install it?

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [March 23, 2018, 8:31am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/6 "2018-03-23T08:31:54Z")

</div>

if you are talking about index or indices back up then u can take the same with the help of CURATOR.

Or

if you are talking about your .conf file then simple create a backup folder and save all the conf file in that folder for future reference.

---

<div class="post-metadata">

**Author:** ![SathishKannan](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SathishKannan](https://discuss.elastic.co/u/SathishKannan)\
**Post date:** [March 23, 2018, 2:41pm UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/7 "2018-03-23T14:41:12Z")

</div>

What is the curator command to take snapshot? $ curator snapshot --repository \< repository name \> indices \< index selection parameters \>. Is this a correct way?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [March 23, 2018, 3:35pm UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/8 "2018-03-23T15:35:59Z")

</div>

Those commands look quite out of date. Please see [the current Curator snapshot documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/snapshot.html).

---

<div class="post-metadata">

**Author:** ![SathishKannan](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SathishKannan](https://discuss.elastic.co/u/SathishKannan)\
**Post date:** [March 26, 2018, 7:14am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/9 "2018-03-26T07:14:20Z")

</div>

Thanks theuntergeek...

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [April 12, 2018, 6:44am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/10 "2018-04-12T06:44:06Z")

</div>

@discobot start new user

---

<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:** [May 10, 2018, 6:44am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-elasticsearch-service-config/125321/11 "2018-05-10T06:44:14Z")

</div>

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