Snapshot and restore keep reporting 29 number indices

Hi all
I have a problem with the snapshot feature.
I have a little script that will take snapshot of an indices of my choice in a file.
But recently when i upgrade to version 7.12 when i take the snapshot, not only the indices that i choose got snap but also some of the system indices.
Back then on the old version i didnot have this problems, the snapshot query are the same as back on the old version.

Is there a way to fix this problems.
Thanks

Can you share the script code, or the section that does the actual snapshot request to Elasticsearch?

curl -k -X PUT -u elastic:pass "https://ip:9200/_snapshot/snapshot/$OUTPUT?wait_for_completion=true" -H 'Content-Type: application/json' -d '
	{
		"indices": "'"$OUTPUT"'",
		"ignore_unavailable": false,
		"include_global_state": true
	}
	'

the $OUTPUT var is read from a file.

What's the output from GET /_snapshot/snapshot?

{
  "snapshot" : {
    "type" : "fs",
    "uuid" : "id",
    "settings" : {
      "compress" : "true",
      "location" : "/snapshot"
    }
  }
}

Has anyone figure out why this happened to me yet.
And is there any way for me to fix this.

Why are you including global state?

Actually i just copy this on the elastic guide page, i'm not really sure what it does but back then before when i use version 7.10 it is still fine.

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