# How to setup snapshot repository for multi node cluster?

**URL:** <https://discuss.elastic.co/t/how-to-setup-snapshot-repository-for-multi-node-cluster/183031>\
**Category:** Elasticsearch\
**Created:** [May 28, 2019, 9:13am UTC](https://discuss.elastic.co/t/how-to-setup-snapshot-repository-for-multi-node-cluster/183031 "2019-05-28T09:13:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 28, 2019, 9:13am UTC](https://discuss.elastic.co/t/how-to-setup-snapshot-repository-for-multi-node-cluster/183031/1 "2019-05-28T09:13:22Z")

</div>

Hi,

I am familiar with snapshots and snapshot repositories on a single node cluster.  
Currently I am triggering snapshots via cron calling REST API via curl.

Now I am setting up my first multi node cluster, and I need to implement cyclic snapshots for backup purpose.

What do I need to think about? What is changing when dealing with multi node cluster instead of single node cluster?

**Target** : Make a **consistent snapshot of the whole cluster** , that I am able to restore it's state to a given snapshot.

I would assume that I need to propagate a share / volume which is writable by all nodes. Then I setup each node to use the same repository, pointing to the same volume / share. For creating a snapshot I call the REST-API via curl on **one of the nodes**. That one takes care that all nodes are backing up their primary shards.

Is my understanding correct or do I need to deal with some other aspects?

Thanks a lot,  
Andreas

---

<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:** [May 28, 2019, 10:18am UTC](https://discuss.elastic.co/t/how-to-setup-snapshot-repository-for-multi-node-cluster/183031/2 "2019-05-28T10:18:29Z")

</div>

> [@asp](#):
>
> Is my understanding correct or do I need to deal with some other aspects?

Your understanding sounds correct, but please ask further questions if you get stuck.

---

<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:** [June 25, 2019, 10:18am UTC](https://discuss.elastic.co/t/how-to-setup-snapshot-repository-for-multi-node-cluster/183031/3 "2019-06-25T10:18:32Z")

</div>

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