# Elastic snapshots - is one big repository recommended?

**URL:** <https://discuss.elastic.co/t/elastic-snapshots-is-one-big-repository-recommended/267045>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [March 12, 2021, 7:06am UTC](https://discuss.elastic.co/t/elastic-snapshots-is-one-big-repository-recommended/267045 "2021-03-12T07:06:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimJ](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JimJ](https://discuss.elastic.co/u/JimJ)\
**Post date:** [March 12, 2021, 7:06am UTC](https://discuss.elastic.co/t/elastic-snapshots-is-one-big-repository-recommended/267045/1 "2021-03-12T07:06:14Z")

</div>

I am putting in place a shared filesystem repository to take snapshots.

I noticed the second cluster I configured with the sahred FS automatically gets info about existing snapshots, even if I give a different name to the repository.

Is it recommended to use one shared FS for 2 different clusters or is it better to use separated shared FS ?

Thank you for your recommendations.

Jean-Marc

---

<div class="post-metadata">

**Author:** ![JimJ](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JimJ](https://discuss.elastic.co/u/JimJ)\
**Post date:** [March 12, 2021, 7:25am UTC](https://discuss.elastic.co/t/elastic-snapshots-is-one-big-repository-recommended/267045/2 "2021-03-12T07:25:20Z")

</div>

Okay. The documentation answered to my question:

> If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository.

See [Register a snapshot repository | Elasticsearch Guide [7.10] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/snapshots-register-repository.html#snapshots-filesystem-repository)

---

<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:** [April 9, 2021, 7:25am UTC](https://discuss.elastic.co/t/elastic-snapshots-is-one-big-repository-recommended/267045/3 "2021-04-09T07:25:39Z")

</div>

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