-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding an ILM Action to be able to do snapshot an index during an ILM phase. #51199
Comments
I was thinking we can implement this as a generic user provided action / callback that can implement any custom action based on a phase of the lifecycle like providing notifications and such. |
Pinging @elastic/es-core-features (:Core/Features/ILM+SLM) |
@rkalluri-clgx we recently implemented #45067 (#50454) which allows waiting in the delete phase for an SLM policy snapshot to be taken. Does this cover what you're asking for? (the index doesn't have to be deleted) If not, can you clarify your exact use case? |
I am thinking from the aspect of index archival not backup. This will be like a final read only copy of the index that is closed so that we can replay these back. I treat the SLM to be more for disaster recovery. |
Hi @rkalluri-clgx, can you please provide more details on your use case here? I'm trying to understand what "replay these back" means? Would you like to snapshot older indices automatically before deleting them, then have a mechanism for restoring those indices when needed? You may also be interested in freezing indices within ILM, frozen indices will allow you to create very dense nodes for long term data storage. |
+1 for this feature |
Just wanted to point out to folks in this also, that we do have support in ILM for searchable snapshots now: #50806 and in that step, it can be configured to keep the snapshot past the point where the index would be deleted. |
For now we are closing this as we don't want to increase the number of single-snapshot indices for backup purposes, as that could cause cluster instability (see #66042) |
I would like to request an ability to snapshot an index as part of an ILM action (https://www.elastic.co/guide/en/elasticsearch/reference/current/_actions.html)
This would be useful for time based indices especially when using a cloud storage as repository like S3 or GCS to off load the cold data off the elastic cluster
This will provide ways to restore those indices when there is a need to restore specific time based indices.
The text was updated successfully, but these errors were encountered: