# Curator snapshot kibana indices don't work anymore

**URL:** <https://discuss.elastic.co/t/curator-snapshot-kibana-indices-dont-work-anymore/189367>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [July 8, 2019, 2:57pm UTC](https://discuss.elastic.co/t/curator-snapshot-kibana-indices-dont-work-anymore/189367 "2019-07-08T14:57:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludovic9](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@Ludovic9](https://discuss.elastic.co/u/Ludovic9)\
**Post date:** [July 8, 2019, 2:57pm UTC](https://discuss.elastic.co/t/curator-snapshot-kibana-indices-dont-work-anymore/189367/1 "2019-07-08T14:57:54Z")

</div>

Hello,  
I have noticed my snapshot of kibana indices don't work anymore. I don't know why, maybe due to an upgrade of my stack last april (6.3.0 to 6.7.1).

Now when I run the script :

`curator --dry-run snapshot_index_kibana.yml`

with the following lines in the yml file

> actions:  
> 1:  
> action: snapshot  
> description: \>-  
> Snapshots Kibana indices  
> options:  
> repository: snapshot\_production  
> name: snapshot\_kibana\_indices\_%Y.%m.%d\_%H.%M.%S  
> ignore\_empty\_list: false  
> timeout\_override:  
> continue\_if\_exception: False  
> disable\_action: False  
> filters:  
> - filtertype: kibana  
> exclude: false

I have the error :

> curator --dry-run snapshot\_index\_kibana.yml  
> 2019-07-08 16:53:46,542 INFO Preparing Action ID: 1, "snapshot"  
> 2019-07-08 16:53:46,551 INFO Trying Action ID: 1, "snapshot": Snapshots Kibana indices  
> 2019-07-08 16:53:47,010 INFO Skipping action "snapshot" due to empty list: \<class 'curator.exceptions.NoIndices'\>  
> 2019-07-08 16:53:47,011 INFO Action ID: 1, "snapshot" completed.  
> 2019-07-08 16:53:47,011 INFO Job completed.

what's going on ?

I have updated curator to last version but same error.  
The purpose of this command was to snapshot every day my kibana indices.

Does exist another way to do that ?

No problem with others actions (delete and snapshot of other indices).

---

<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 8, 2019, 7:31pm UTC](https://discuss.elastic.co/t/curator-snapshot-kibana-indices-dont-work-anymore/189367/2 "2019-07-08T19:31:15Z")

</div>

> [@Ludovic9](#):
>
> ```auto
> filters:
> - filtertype: kibana
> exclude: false
> 
> ```

This will exclude all non-kibana indices, but it’s still not matching even the current Kibana index pattern. You also should continue to manually test with —dry-run until you are satisfied all indices are backed up.

---

<div class="post-metadata">

**Author:** ![Ludovic9](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@Ludovic9](https://discuss.elastic.co/u/Ludovic9)\
**Post date:** [July 9, 2019, 3:04pm UTC](https://discuss.elastic.co/t/curator-snapshot-kibana-indices-dont-work-anymore/189367/3 "2019-07-09T15:04:12Z")

</div>

I have solved my issues with this new configuration :

> actions:  
> 1:  
> action: snapshot  
> description: \>-  
> Snapshots Kibana indices  
> options:  
> repository: snapshot\_production  
> name: snapshot\_kibana\_indices\_%Y.%m.%d\_%H.%M.%S  
> ignore\_empty\_list: true  
> timeout\_override:  
> continue\_if\_exception: False  
> disable\_action: False  
> filters:  
> - filtertype: pattern  
> kind: regex  
> value: '^(.kibana|.reindexed-v6-kibana-6)'

It works and I can restore kibana 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:** [August 6, 2019, 3:04pm UTC](https://discuss.elastic.co/t/curator-snapshot-kibana-indices-dont-work-anymore/189367/4 "2019-08-06T15:04:18Z")

</div>

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