# RESTORE failing from S3

**URL:** <https://discuss.elastic.co/t/restore-failing-from-s3/25506>\
**Category:** Elasticsearch\
**Created:** [July 14, 2015, 9:15am UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506 "2015-07-14T09:15:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanveer3](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tanveer3](https://discuss.elastic.co/u/tanveer3)\
**Post date:** [July 14, 2015, 9:15am UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/1 "2015-07-14T09:15:26Z")

</div>

Hi All

I have taken a snapshot and loaded succesfully into S3, while trying to Restore i am getting error as File not found.

**Step -1** curl -XPUT 'localhost:9200/\_snapshot/backup/s3bkup\_14052015?wait\_for\_completion=true&pretty' -d '{ "indices": "logstash-2015.05.14", "include\_global\_state":"false","partial":"true" }'  
{  
"snapshot" : {  
"snapshot" : "s3bkup\_14052015",  
"indices" : ["logstash-2015.05.14"],  
"state" : "SUCCESS",  
"start\_time" : "2015-07-14T09:27:52.384Z",  
"start\_time\_in\_millis" : 1436866072384,  
"end\_time" : "2015-07-14T09:27:52.999Z",  
"end\_time\_in\_millis" : 1436866072999,  
"duration\_in\_millis" : 615,  
"failures" : [],  
"shards" : {  
"total" : 5,  
"failed" : 0,  
"successful" : 5  
}  
}  
}

metadata-s3bkup\_14052015  
snapshot-s3bkup\_14052015

**Step -2** Now i am trying to restore and getting the error.

curl -XPOST 'localhost:9200/\_snapshot/backup/snapshot-s3bkup\_14052015/\_restore'  
{"error":"SnapshotMissingException[[backup:snapshot-s3bkup\_14052015] is missing]; nested: FileNotFoundException[/es\_backup\_folder/snapshot-snapshot-s3bkup\_14052015 (No such file or directory)]; ","status":404}[root@ip-10-254-253-124 es\_backup\_folder]#

**Step -3**

curl -XPOST 'localhost:9200/\_snapshot/backup/s3bkup\_14052015/\_restore'  
{"error":"SnapshotMissingException[[backup:s3bkup\_14052015] is missing]; nested: FileNotFoundException[/es\_backup\_folder/snapshot-s3bkup\_14052015 (No such file or directory)]; ","status":404}[root@ip-10-254-253-124 es\_backup\_folder]#

Please advice the correction in my RESTORE.

---

<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 14, 2015, 9:47am UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/2 "2015-07-14T09:47:18Z")

</div>

Obvious one, does that path exist in S3?

What does your repo look like?

---

<div class="post-metadata">

**Author:** ![tanveer3](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tanveer3](https://discuss.elastic.co/u/tanveer3)\
**Post date:** [July 14, 2015, 9:48am UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/3 "2015-07-14T09:48:51Z")

</div>

Hi Mark

Its working now.

---

<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 14, 2015, 11:14am UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/4 "2015-07-14T11:14:32Z")

</div>

I must have fixed it with magic.

---

<div class="post-metadata">

**Author:** ![tanveer3](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tanveer3](https://discuss.elastic.co/u/tanveer3)\
**Post date:** [July 15, 2015, 11:20am UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/5 "2015-07-15T11:20:42Z")

</div>

😄

---

<div class="post-metadata">

**Author:** ![rbassi75](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@rbassi75](https://discuss.elastic.co/u/rbassi75)\
**Post date:** [March 21, 2017, 10:33pm UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/6 "2017-03-21T22:33:56Z")

</div>

Hi Tanveer,

Can you please share the fix you've done?

---

<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, 10:02pm UTC](https://discuss.elastic.co/t/restore-failing-from-s3/25506/7 "2017-07-05T22:02:02Z")

</div>


