# ERROR Failed to complete action: restore. \<class 'curator.exceptions.FailedExecution'\>: Exception encountered

**URL:** <https://discuss.elastic.co/t/error-failed-to-complete-action-restore-class-curator-exceptions-failedexecution-exception-encountered/278595>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [July 13, 2021, 9:16pm UTC](https://discuss.elastic.co/t/error-failed-to-complete-action-restore-class-curator-exceptions-failedexecution-exception-encountered/278595 "2021-07-13T21:16:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Es\_P\_T](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/es_p_t/32/81768_2.png) [@Es\_P\_T](https://discuss.elastic.co/u/Es_P_T)\
**Post date:** [July 13, 2021, 9:16pm UTC](https://discuss.elastic.co/t/error-failed-to-complete-action-restore-class-curator-exceptions-failedexecution-exception-encountered/278595/1 "2021-07-13T21:16:21Z")

</div>

Hi ES,

Below is my code and I am trying to take a snapshot from one cluster and restore it in different cluster using Elasticsearch Curator.

- 

````auto
    1:
      action: restore
      description: >-
        Restore all indices in the most recent snapshot with state SUCCESS. Wait
        for the restore to complete before continuing. Do not skip the repository
        filesystem access check. Use the other options to define the index/shard
        settings for the restore.
      options:
        repository: es_backup_qa
        # Leaving name blank will result in the default 'curator-%Y%m%d%H%M%S'
        name:
        # If name is blank, the most recent snapshot by age will be selected
        indices: ['index-00001']
        rename_pattern: 'index(.+)'
        rename_replacement: 'restored_index$1'
        wait_for_completion: True
        max_wait: 3600
        wait_interval: 10
      filters:
      - filtertype: state
        state: SUCCESS
        exclude:```

````

While doing restoring - I am receiving the below error in kubernetes cron job and **kubernetes pod** is ending with **error** status: Below is the Log :

```auto
2021-07-13 21:07:22,504 INFO Preparing Action ID: 1, "restore"
2021-07-13 21:07:22,504 INFO Creating client object and testing connection
2021-07-13 21:07:22,506 INFO Instantiating client object
2021-07-13 21:07:22,507 INFO Testing client connectivity
2021-07-13 21:07:22,635 INFO Successfully created Elasticsearch client object with provided settings
2021-07-13 21:07:22,639 INFO Trying Action ID: 1, "restore": Restore all indices in the most recent snapshot with state SUCCESS. Wait for the restore to complete before continuing. Do not skip the repository filesystem access check. Use the other options to define the index/shard settings for the restore.
2021-07-13 21:07:29,854 INFO Restoring indices "['timezonelookup-00001']" from snapshot: backup-20210712230022
2021-07-13 21:07:30,009 ERROR Failed to complete action: restore. <class 'curator.exceptions.FailedExecution'>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: NotFoundError(404, 'index_not_found_exception', 'no such index [timezonelookup-00001]')

```

Please help

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [July 14, 2021, 1:03pm UTC](https://discuss.elastic.co/t/error-failed-to-complete-action-restore-class-curator-exceptions-failedexecution-exception-encountered/278595/2 "2021-07-14T13:03:30Z")

</div>

You'll have to turn off the blacklisting in your client connection:

```auto
logging:
  loglevel: DEBUG
  blacklist: []

```

This will show all `urllib3` and `elasticsearch` library log data (it's exceptionally verbose, which is why they're excluded by default). This will give a clearer picture of what is happening behind the scenes.

---

<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 11, 2021, 1:04pm UTC](https://discuss.elastic.co/t/error-failed-to-complete-action-restore-class-curator-exceptions-failedexecution-exception-encountered/278595/3 "2021-08-11T13:04:00Z")

</div>

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