# Opensearch snapshots

**URL:** <https://forum.opensearch.org/t/opensearch-snapshots/19263>\
**Category:** OpenSearch\
**Created:** [May 8, 2024, 12:57pm UTC](https://forum.opensearch.org/t/opensearch-snapshots/19263 "2024-05-08T12:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ges](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/ges/32/7485_2.png) [@ges](https://forum.opensearch.org/u/ges)\
**Post date:** [May 8, 2024, 12:57pm UTC](https://forum.opensearch.org/t/opensearch-snapshots/19263/1 "2024-05-08T12:57:51Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

2.8.0

**Describe the issue** :

I want to separate snapshot data on different NFS servers.

**Configuration** :

I have an opensearch cluster composed of:

- 2 coordinating
- 2 master
- 8 data/ingest

On the 8 data/ingest nodes, I have 2 nodes dedicated to a specific index (with routing.allocation restriction applied) (ie: I have some restriction about customer who wants a physical segmentation).  
To setup the backup policy, I want to have 2 nodes that will have a NFS share: one for the specific index of the customer and one for every other indices.

Is it possible to have that kind of setup and what would be the network requirements between all nodes of the cluster ?

Thank you for your help!

**Relevant Logs or Screenshots** :

None

---

<div class="post-metadata">

**Author:** ![gaobinlong](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gaobinlong/32/5242_2.png) [@gaobinlong](https://forum.opensearch.org/u/gaobinlong)\
**Post date:** [May 9, 2024, 2:42am UTC](https://forum.opensearch.org/t/opensearch-snapshots/19263/2 "2024-05-09T02:42:18Z")

</div>

For NFS, I think you should mount it to the same location in all master nodes and data nodes, and then update the setting `path.repo` in opensearch.yml for each of them, only configuring part of the data nodes seems not feasible.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 9, 2024, 10:11am UTC](https://forum.opensearch.org/t/opensearch-snapshots/19263/3 "2024-05-09T10:11:53Z")

</div>

@ges Just a small add-on to @gaobinlong reply.  
You can configure multiple destinations for your snapshots. The `path.repo` is an array-type option where you can define multiple paths.  
Then you can register repositories for each mounting point.

> **[Take and restore snapshots](https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/)**
>
> Take and restore snapshots
