# How to take indexes backup node wise in cluster

**URL:** <https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742>\
**Category:** Elasticsearch\
**Created:** [January 20, 2020, 1:34pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742 "2020-01-20T13:34:06Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 20, 2020, 1:34pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/1 "2020-01-20T13:34:06Z")

</div>

We need to take indexes backup node wise or there would be cluster . how to take the backup please help me .

---

<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:** [January 20, 2020, 3:17pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/2 "2020-01-20T15:17:22Z")

</div>

You probably want to read [https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html)

---

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 20, 2020, 3:51pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/3 "2020-01-20T15:51:04Z")

</div>

Hi Dadoonet,  
i read the document in that only know the take all indices of cluster and specific indices of all nodes .  
but i need how to take indices backup node wise.if any node fails take the backup.  
how to do that node wise\>

---

<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:** [January 20, 2020, 4:20pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/4 "2020-01-20T16:20:51Z")

</div>

> but i need how to take indices backup node wise.

Why?

May be a rsync on the data dir?  
But I'd prefer using the right tool which is "snapshot and restore" feature.

My 2 cents.

---

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 20, 2020, 4:25pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/5 "2020-01-20T16:25:54Z")

</div>

my requirement is take snapshot on nodewise in the cluster ? that's the reason any possibility is there to do that snapshot .

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 20, 2020, 4:28pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/6 "2020-01-20T16:28:25Z")

</div>

> [@dadoonet](#):
>
> May be a rsync on the data dir?

This doesn't work, sorry, it'll lead to corruption or silent data loss on restore. Snapshot and restore is the only tool for this job. If a node fails, you can just start up an empty node in its place and Elasticsearch will restore everything automatically -- there's no need to take node-level backups.

---

<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:** [January 20, 2020, 4:37pm UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/7 "2020-01-20T16:37:29Z")

</div>

Thanks @DavidTurner. I was almost sure I should not have answered that 🙃

---

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 21, 2020, 3:14am UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/8 "2020-01-21T03:14:43Z")

</div>

May be a rsync on the data dir?

how to do rsync on the data dir , please help me

---

<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:** [January 21, 2020, 5:01am UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/9 "2020-01-21T05:01:30Z")

</div>

Are you sure that you don't want to follow the advices from the experts and from the people who actually wrote Elasticsearch?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 21, 2020, 6:25am UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/10 "2020-01-21T06:25:04Z")

</div>

As David pointed out, rsyncing or performing file level backups is not supported and you will encounter issues trying to restore it.

I would recommend discussing the requirement as it is not possible with Elasticsearch. Instead use snapshots.

---

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [January 21, 2020, 6:39am UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/11 "2020-01-21T06:39:36Z")

</div>

okay .. Thank you

---

<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:** [February 18, 2020, 6:39am UTC](https://discuss.elastic.co/t/how-to-take-indexes-backup-node-wise-in-cluster/215742/12 "2020-02-18T06:39:39Z")

</div>

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