Restore a snapshot: RemoteTransportException

Dear Elasticsearch team,

I'm using Elasticsearch 1.7, and I've created a snapshot named snapshot20180625 in an environment and i copied it into another environment, then i tried to register the repository using:

curl -XPUT "localhost:9200/_snapshot/snapshot20180625" -d '{
  "type": "fs",
  "settings": {
    "compress": "true",
    "location": "/shared/appdata/sls/sls.elasticsearch/backups"
  }
}'

But it gives me the following error:

{"error":"RemoteTransportException[[***server name***][inet[/localhost:9300]][cluster:admin/repository/put]]; nested: ProcessClusterEventTimeoutException[failed to process cluster event (put_repository [snapshot20180625]) within 30s]; ","status":503}

Can you please give me a help ?
Thank you!

Hi,

You should find more information in the elasticsearch node of the master node of your cluster.

1 Like

Dear @tanguy,

Thank you for you response!

I've checked log, and i found that Elasticsearch doesn't have permissions to access to the data repository.
It's fixed by having the same owner user in both data repository and Elasticsearch.

Thanks and Best regards,
Mohammed ESSABRI

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