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' -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}