Elasticsearch 2.2 snapshot with exclude indices

Hi,
I am getting nearby crazy :slight_smile: I want to snapshot and to exlude my .kibana & .marvel indeces like this:

curl -X PUT "localhost:9200/_snapshot/backup/init" -H 'Content-Type: application/json' -d'
{
"indices": ",-.kibana,-.marvel",
"ignore_unavailable": true,
"include_global_state": false
}
'

It does not work, kibana and marvel things are still in the snapshot. I tried with:
-.kibana
-kibana
-kibana
-.kibana

Nothing worked.
Can anyone help me? Thanks in advance.
Best,
Ronny

This is a bug in 2.2 with 2.4 it is working

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