# Snapshot to the mounted NFS, without path.repo parameter in elasticsearch.yml

**URL:** <https://discuss.elastic.co/t/snapshot-to-the-mounted-nfs-without-path-repo-parameter-in-elasticsearch-yml/192735>\
**Category:** Elasticsearch\
**Created:** [July 29, 2019, 3:17pm UTC](https://discuss.elastic.co/t/snapshot-to-the-mounted-nfs-without-path-repo-parameter-in-elasticsearch-yml/192735 "2019-07-29T15:17:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eli.bogomolnyi](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@eli.bogomolnyi](https://discuss.elastic.co/u/eli.bogomolnyi)\
**Post date:** [July 29, 2019, 3:17pm UTC](https://discuss.elastic.co/t/snapshot-to-the-mounted-nfs-without-path-repo-parameter-in-elasticsearch-yml/192735/1 "2019-07-29T15:17:45Z")

</div>

I have Elastic Cluster (version 5.6.0) with 9 data nodes and 3 master-eligible client nodes.  
I want to backup date to the shared storage (NFS). So I am going to mount NFS to each node to the folder /mnt/backup and do something like this:

```
curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -H 'Content-Type: application/json' -d '{
    "type": "fs",
    "settings": {
        "location": " /mnt/backup",
        "compress": false
    }
}'

```

1. Can I do it without adding the path.repo parameter to elasticsearch.yml of every node? I have a lot of date, so adding this parameter to every node will take a lot of time.
2. If I add this parameter, will I be able to continue making backups to s3?

Thanks

---

<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:** [July 29, 2019, 5:36pm UTC](https://discuss.elastic.co/t/snapshot-to-the-mounted-nfs-without-path-repo-parameter-in-elasticsearch-yml/192735/2 "2019-07-29T17:36:45Z")

</div>

> [@eli.bogomolnyi](#):
>
> - Can I do it without adding the repo.path parameter to elasticsearch.yml of every node? I have a lot of date, so adding this parameter to every node will take a lot of time.

No, there is no alternative. The security manager needs to allow access to this path at startup.

> [@eli.bogomolnyi](#):
>
> If I add this parameter, will I be able to continue making backups to s3?

Yes.

---

<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:** [August 26, 2019, 5:36pm UTC](https://discuss.elastic.co/t/snapshot-to-the-mounted-nfs-without-path-repo-parameter-in-elasticsearch-yml/192735/3 "2019-08-26T17:36:53Z")

</div>

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