# How to use multiple snapshot repository directory's

**URL:** <https://discuss.elastic.co/t/how-to-use-multiple-snapshot-repository-directorys/321991>\
**Category:** Elasticsearch\
**Created:** [December 26, 2022, 1:01pm UTC](https://discuss.elastic.co/t/how-to-use-multiple-snapshot-repository-directorys/321991 "2022-12-26T13:01:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santhosh\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/santhosh_k/32/115236_2.png) [@Santhosh\_K](https://discuss.elastic.co/u/Santhosh_K)\
**Post date:** [December 26, 2022, 1:01pm UTC](https://discuss.elastic.co/t/how-to-use-multiple-snapshot-repository-directorys/321991/1 "2022-12-26T13:01:22Z")

</div>

Hi,

I have to use multiple snapshot repositories,

Does that support multiple directories, if so, how?

I want to know how to put multiple snapshot repository directory's in elasticsearch.yml file.

And what about single cluster , multi node environment?

I have master node in my local machine and two nodes are in separate machines.

I have to put those data.repo in every node's elasticsearch.yml file?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![sai\_saran1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sai_saran1/32/116661_2.png) [@sai\_saran1](https://discuss.elastic.co/u/sai_saran1)\
**Post date:** [December 26, 2022, 6:08pm UTC](https://discuss.elastic.co/t/how-to-use-multiple-snapshot-repository-directorys/321991/2 "2022-12-26T18:08:00Z")

</div>

Hi,  
Not sure about that but try to refer the below

> **[Shared file system repository | Elasticsearch Guide \[master\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/master/snapshots-filesystem-repository.html)**

---

<div class="post-metadata">

**Author:** ![Santhosh\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/santhosh_k/32/115236_2.png) [@Santhosh\_K](https://discuss.elastic.co/u/Santhosh_K)\
**Post date:** [December 27, 2022, 5:26am UTC](https://discuss.elastic.co/t/how-to-use-multiple-snapshot-repository-directorys/321991/3 "2022-12-27T05:26:37Z")

</div>

Thank you for your reply , I hope this will helpful for me, If not I will get back here.

---

<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:** [January 24, 2023, 5:27am UTC](https://discuss.elastic.co/t/how-to-use-multiple-snapshot-repository-directorys/321991/4 "2023-01-24T05:27:09Z")

</div>

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