# Error while restore snapshot GCS

**URL:** <https://discuss.elastic.co/t/error-while-restore-snapshot-gcs/312968>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [August 25, 2022, 9:29pm UTC](https://discuss.elastic.co/t/error-while-restore-snapshot-gcs/312968 "2022-08-25T21:29:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiran\_Kumar\_Thungala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kiran_kumar_thungala/32/108106_2.png) [@Kiran\_Kumar\_Thungala](https://discuss.elastic.co/u/Kiran_Kumar_Thungala)\
**Post date:** [August 25, 2022, 9:29pm UTC](https://discuss.elastic.co/t/error-while-restore-snapshot-gcs/312968/1 "2022-08-25T21:29:09Z")

</div>

Hi, I'm struggle trying to restore an index from a snapshot which was taken by SLM. The steps I've following are:

- We have snapshots which was taken as per SLM, i am trying to restore one of the snapshot:

```auto
"backup" : {
"type" : "gcs",
"settings" : {
"bucket": "<bucket_name>",
"base_path": "<path>"
}

```

`curl -X POST 'localhost:9200/_snapshot/<repo>/<snapshot>/_restore'`

Error:

```auto
{"error":{"root_cause":[{"type":"snapshot_missing_exception","reason":"[es_snapshot_repository_read_only:es-snap-2022.08.22-mrbbts3cq3q1ajqzbmkr0a/Qx8Vh-QASB6EBDJC8er1rQ] is missing"}],"type":"snapshot_missing_exception","reason":"[es_snapshot_repository_read_only:es-snap-2022.08.22-mrbbts3cq3q1ajqzbmkr0a/Qx8Vh-QASB6EBDJC8er1rQ] is missing","caused_by":{"type":"no_such_file_exception","reason":"Blob object [es_backup/indices/UCru05zSTo2Grcfdcm5C0g/meta-Cb5WSH8BHoNh_rPix6_D.dat] not found: 404 Not Found\nGET https://storage.googleapis.com/download/storage/v1/b/sift-es-snapshot-stg1/o/es_backup%2Findices%2FUCru05zSTo2Grcfdcm5C0g%2Fmeta-Cb5WSH8BHoNh_rPix6_D.dat?alt=media\nNo such object: sift-es-snapshot-stg1/es_backup/indices/UCru05zSTo2Grcfdcm5C0g/meta-Cb5WSH8BHoNh_rPix6_D.dat"}},"status":404}

```

Not sure what I'm doing wrong.

Could you please help me with this issue?

Thanks in advance!

---

<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:** [September 22, 2022, 9:29pm UTC](https://discuss.elastic.co/t/error-while-restore-snapshot-gcs/312968/2 "2022-09-22T21:29:56Z")

</div>

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