-
Notifications
You must be signed in to change notification settings - Fork 635
Open
Description
Unable to skip some indices while restoring
Steps to Reproduce the Problem
I want to restore all indices except starting with "A"
ES query to do it is
POST _snapshot/repo/snapshot/_restore
{
"indices": "*,-A*",
"index_settings": {
"index.number_of_replicas": 0
}
}However, Curator requires a list of indices (Doc at https://www.elastic.co/guide/en/elasticsearch/client/curator/7.0/option_indices.html show you can pass a string but it's not true)
When providing a list ES won't restore anything.
{
"indices": ["*,-A*"],
"index_settings": {
"index.number_of_replicas": 0
}
}Could you please allow to provide indices as a string
Do you know any other way how to restore all indices except indices starting with "A" ?
Providing indices as
"indices": ["*","-A*"]
seems to work more or less ok - it do not restore indices starting with *, but returns some curator errors
Metadata
Metadata
Assignees
Labels
No labels