-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Snapshot & Restore] Snapshot flow for system indices is broken in 8.0+ #120314
Comments
Pinging @elastic/kibana-stack-management (Team:Stack Management) |
For addressing the first point on hiding system indices when creating a policy a new ES issue has been created elastic/elasticsearch#82671. For hiding system indices when restoring a snapshot we can leverage the |
With @sabarasaba's PR#123365 merged, system indices are no longer listed when restoring a snapshot and when elasticsearch#82671 will be implemented, system indices will not be displayed in the indices field when creating an SLM policy. Currently, it's already not possible to include system indices via "indices" field (elasticsearch#79670 and elasticsearch#81235): when a wildcard is used, matching system indices will be ignored and when a system index is included by name, an error will be thrown when the policy is run. Users can only backup all system indices by enabling the toggle "include global state". We need to add a combobox, when the toggle is disabled, that would list available features as options and would allow the user to select specific features for backup. A list of features is returned by the Get features API. The same combobox should be added to the "restore snapshot flow" as well (see #95128) Also, the validation should allow the user to either backup only "normal" data streams and indices or only features (system indices). Currently, the "indices" field is mandatory in the UI (but not in the API). |
With elastic/elasticsearch#79670, you can no longer use the
indices
parameter of the ES create snapshot policy API or the ES restore snapshot API to back up or restore system indices in 8.0+. The creates a few issues for the corresponding snapshot UIs:Relates to #95128
The text was updated successfully, but these errors were encountered: