# Restore from S3 Snapshot

**URL:** https://discuss.elastic.co/t/restore-from-s3-snapshot/347210
**Category:** Elasticsearch
**Tags:** slm-snapshot-lifecycle-management, snapshot-and-restore
**Created:** [November 15, 2023, 9:52am UTC](https://discuss.elastic.co/t/restore-from-s3-snapshot/347210 "2023-11-15T09:52:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vadiraj\_Prahalad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vadiraj_prahalad/32/127589_2.png) [@Vadiraj\_Prahalad](https://discuss.elastic.co/u/Vadiraj_Prahalad)
#### Post date: [November 15, 2023, 9:52am UTC](https://discuss.elastic.co/t/restore-from-s3-snapshot/347210/1 "2023-11-15T09:52:21Z")

</div>

Hello Everyone,

We are trying to Restore the snapshot from S3 bucket. The snapshot is taken from a different cluster (7.12) & getting restored in different cluster (7.17 ).

Below is the error during the restore activity

```auto

"error":{"root_cause":[{"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (add-block-index-to-close [[cib_/MAZVfK1fR2aQL2op_bMAhg]]) within 30s"}],"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (add-block-index-to-close [[cib_/MAZVfK1fR2aQL2op_bMAhg]]) within 30s"},"status":503}

```

We are using an automation script to close the index & perform restore using below statements

```auto
curl -X POST -u admin:$passw "https://$HOST_NAME:9201/$index/_close"

      curl -X POST -u admin:$passw "https://$HOST_NAME:9201/_snapshot/$REPOSITORY_NAME/$snapshotname/_restore?wait_for_completion=true" -H 'Content-Type:application/json' -d'
     {
      "indices": "'"$index"'",
      "ignore_unavailable": true,
      "include_global_state": false,
      "partial": false,
      "index_settings":{
      "index.routing.allocation.exclude.app": "someapp"
                       }
       }
      ' >> s3repo_cibrcdn.json 

```

Can someone help about the error. We dont have any timeouts mentioned

---

<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: [December 13, 2023, 9:52am UTC](https://discuss.elastic.co/t/restore-from-s3-snapshot/347210/2 "2023-12-13T09:52:38Z")

</div>

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