The create snapshot API states that the default for expand_wildcards is all, but our snapshots created through a snapshot policy does not include our closed indices.
As far as I can tell the newer docs are right and what I said before was wrong, we default "expand_wildcards":["open","closed","hidden"] which means all and definitely includes closed indices, and snapshots do include closed indices by default. I don't see anything in the SLM code that would change that. All very strange.
To check this in a more controlled manner I fired up a local Docker cluster from scratch with one Elasticsearch node and one Kibana instance running 7.10.1.
I registered a repository and created a policy with default values.
Thanks for reproducing it in a controlled fashion, that's very helpful. I suggest opening an issue on Github with this information, it sounds like a bug to me.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.