Hi,
Is it possible to have a snapshot policy which does not have a schedule? I wanted the ILM to create a snapshot by invoking the snapshot policy just before the index is deleted at the end of cold phase.
I want to use the " Wait for snapshot policy" feature in the ILM. But any snapshot policy I create has a schedule attached to it. That means that there will be snapshots taken outside the realm of ILM too.
I am thinking of creating an policy which is executed once every year. So that ILM can run it for the index it is going to delete anytime it deems fit. But the policy as such will be run at the end of the year. I can then maybe manually delete that snapshot to avoid duplicate data.
But this does not seems very elegant way of doing it.
ILM and SLM are separate, in that you cannot tell ILM to trigger an SLM policy, or even a snapshot directly.
I'm not sure there is a clean solution here sorry. However I would encourage you to create a feature request so that the ILM+SLM team can get an idea of what you would like to do and how we might be able to support it.
I am confused now. I did see the snapshots getting taken at times which was not the scheduled time. I will go back and have a look at the timestamps added to the snapshots.
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.