# Curator snapshot - "Schema Error"

**URL:** <https://discuss.elastic.co/t/curator-snapshot-schema-error/123142>\
**Category:** Elasticsearch\
**Created:** [March 8, 2018, 9:34pm UTC](https://discuss.elastic.co/t/curator-snapshot-schema-error/123142 "2018-03-08T21:34:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [March 8, 2018, 9:34pm UTC](https://discuss.elastic.co/t/curator-snapshot-schema-error/123142/1 "2018-03-08T21:34:57Z")

</div>

Hello,  
Getting the following error when running the curator command:  
`sudo curator --config /etc/elasticsearch/curator.yml /etc/elasticsearch/snapshot_indices.yml`

Oddly when i run the curator command for another action (rollover) - it runs absolutely fine. I copied pasted from that one to create this snapshot\_indices and configured it as below but I keep getting this cryptic error. Any suggestions?:

> 2018-03-08 21:34:01,817 ERROR Schema error: 0

_This is my action file (snapshot\_indices.yml)_

> ```
> actions:
> 1:
> action: snapshot
> description: >-
> Snapshot logstash- prefixed indices older than 1 day (based on index
> creation_date) with the default snapshot name pattern of
> 'curator-%Y%m%d%H%M%S'. Wait for the snapshot to complete. Do not skip
> the repository filesystem access check. Use the other options to create
> the snapshot.
> options:
> repository: my_repository
> # Leaving name blank will result in the default 'curator-%Y%m%d%H%M%S'
> name:
> ignore_unavailable: False
> include_global_state: True
> partial: False
> wait_for_completion: False
> skip_repo_fs_check: False
> timeout_override:
> continue_if_exception: False
> disable_action: False
> 
> ```

---

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [March 8, 2018, 9:54pm UTC](https://discuss.elastic.co/t/curator-snapshot-schema-error/123142/2 "2018-03-08T21:54:06Z")

</div>

NVM - Figured it out  
Did not add a filter for my indices!

---

<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:** [April 5, 2018, 9:54pm UTC](https://discuss.elastic.co/t/curator-snapshot-schema-error/123142/3 "2018-04-05T21:54:15Z")

</div>

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