# Restore a snapshot: RemoteTransportException

**URL:** <https://discuss.elastic.co/t/restore-a-snapshot-remotetransportexception/138732>\
**Category:** Elasticsearch\
**Created:** [July 5, 2018, 1:45pm UTC](https://discuss.elastic.co/t/restore-a-snapshot-remotetransportexception/138732 "2018-07-05T13:45:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)\
**Post date:** [July 5, 2018, 1:45pm UTC](https://discuss.elastic.co/t/restore-a-snapshot-remotetransportexception/138732/1 "2018-07-05T13:45:04Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [July 5, 2018, 1:47pm UTC](https://discuss.elastic.co/t/restore-a-snapshot-remotetransportexception/138732/2 "2018-07-05T13:47:12Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)\
**Post date:** [July 5, 2018, 3:25pm UTC](https://discuss.elastic.co/t/restore-a-snapshot-remotetransportexception/138732/3 "2018-07-05T15:25:17Z")

</div>

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

---

<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 2, 2018, 3:25pm UTC](https://discuss.elastic.co/t/restore-a-snapshot-remotetransportexception/138732/4 "2018-08-02T15:25:22Z")

</div>

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