Skip to content
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] Add support for "feature states" on restore #95128

Closed
alisonelizabeth opened this issue Mar 23, 2021 · 2 comments
Closed
Labels
enhancement New value added to drive a business result Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@alisonelizabeth
Copy link
Contributor

alisonelizabeth commented Mar 23, 2021

As of 7.12, a new field called feature_states can be included when restoring snapshots. We need to add support for this in the “Restore snapshot” form in the Snapshot and Restore UI.

Related to elastic/elasticsearch#63513.

ES behavior
By enabling include_global_state on restoration, system indices will be restored (if included in the snapshot). This behavior can be overridden to an extent by including the feature_states field, which contains an array of strings indicating the "feature" for which system indices should be snapshotted or restored. 

Example API request:

POST /_snapshot/my_repository/snapshot_2/_restore
{
  "indices": "index_1",
  "include_global_state": true,
  "feature_states": ["watcher", "security"]
}

UX proposal

@alisonelizabeth alisonelizabeth added enhancement New value added to drive a business result Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI labels Mar 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@sabarasaba
Copy link
Member

Fixed with #131310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

3 participants