# Getting error while trying to take snapshot using curator

**URL:** https://discuss.elastic.co/t/getting-error-while-trying-to-take-snapshot-using-curator/251429
**Category:** Elasticsearch
**Created:** [October 8, 2020, 11:26am UTC](https://discuss.elastic.co/t/getting-error-while-trying-to-take-snapshot-using-curator/251429 "2020-10-08T11:26:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![knagasri](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@knagasri](https://discuss.elastic.co/u/knagasri)
#### Post date: [October 8, 2020, 11:26am UTC](https://discuss.elastic.co/t/getting-error-while-trying-to-take-snapshot-using-curator/251429/1 "2020-10-08T11:26:26Z")

</div>

I am getting the below error, while taking snapshot using Curator:  
Failed to complete action: snapshot. \<class 'curator.exceptions.ActionError'\>: Cannot snapshot indices to missing repository: xxxx

Here I am using GCS bucket name in the field of repository. Below is the curator-config:

actions:

```
    1:

      action: snapshot

      description: Taking snapshots 

      options:

        repository: es-backup-buckett

        name: cuartor-snapshot

      filters:

      - filtertype: pattern

        kind: prefix

        value: facebook
```

---

<div class="post-metadata">

### Author: ![knagasri](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@knagasri](https://discuss.elastic.co/u/knagasri)
#### Post date: [October 29, 2020, 2:43pm UTC](https://discuss.elastic.co/t/getting-error-while-trying-to-take-snapshot-using-curator/251429/2 "2020-10-29T14:43:03Z")

</div>

Able to get rid of the error after creating a repository in kibana UI

---

<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: [November 26, 2020, 2:43pm UTC](https://discuss.elastic.co/t/getting-error-while-trying-to-take-snapshot-using-curator/251429/3 "2020-11-26T14:43:14Z")

</div>

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