# Error while restoring snapshot

**URL:** <https://discuss.elastic.co/t/error-while-restoring-snapshot/26133>\
**Category:** Elasticsearch\
**Created:** [July 23, 2015, 8:23am UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133 "2015-07-23T08:23:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rabeetwaqar](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@rabeetwaqar](https://discuss.elastic.co/u/rabeetwaqar)\
**Post date:** [July 23, 2015, 8:23am UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133/1 "2015-07-23T08:23:29Z")

</div>

Hello, i'm getting this error while restoring my snapshot

snapshotname: elasticindexsnapshot  
repo name : snapshotrepo  
directory: /home/snapshotrepo

I have changed the elasticsearch.yml and updated it :

path.repo: /home/snapshotrepo

i have also created a snapshot in /home/snapshotrepo

But when i'm trying to run:

curl -XPUT '[http://localhost:9200/\_snapshot/snapshotrepo](http://localhost:9200/_snapshot/snapshotrepo)' -d '{ "type": "fs", "settings": { "location": "/home/snapshotrepo", "compress": true }}'

I'm getting this error, please help me out.

{"error":"RepositoryVerificationException[[snapshotrepo] [\_\_rBB01USK-r\_OzLuGIDTA, 'RemoteTransportException[[H.E.R.B.I.E.][inet[/46.101.58.191:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[snapshotrepo] store location [/home/snapshotrepo] is not shared between node [[H.E.R.B.I.E.][\_\_rBB01USK-r\_OzLuGIDTA][elk-test-2][inet[/46.101.58.191:9300]]{master=true}] and the master node]; ']]]","status":500}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 23, 2015, 8:34am UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133/2 "2015-07-23T08:34:04Z")

</div>

That's because it expects a shared filesystem and will check is this is in fact the case.

You can bypass this via [`?verify=false`](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_repository_verification) butdo that at your own peril.

---

<div class="post-metadata">

**Author:** ![rabeetwaqar](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@rabeetwaqar](https://discuss.elastic.co/u/rabeetwaqar)\
**Post date:** [July 23, 2015, 9:19am UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133/3 "2015-07-23T09:19:12Z")

</div>

Thanks for reply,

But i want to use shared file system as i have two different nodes running on two different servers and i want to restore my snapshot from one server to another.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 23, 2015, 9:21am UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133/4 "2015-07-23T09:21:35Z")

</div>

What sort of file system is the repository - NFS, something else?

---

<div class="post-metadata">

**Author:** ![rabeetwaqar](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@rabeetwaqar](https://discuss.elastic.co/u/rabeetwaqar)\
**Post date:** [July 23, 2015, 10:13am UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133/5 "2015-07-23T10:13:56Z")

</div>

Yes NFS  
But i have fixed this , successful in restoring a snapshot from one to the other.

---

<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:** [July 5, 2017, 11:59pm UTC](https://discuss.elastic.co/t/error-while-restoring-snapshot/26133/6 "2017-07-05T23:59:34Z")

</div>


