[8.14] [doc] Allow copying as curl for saved object rollback instructions (#200187) (#200515)

# Backport

This will backport the following commits from `main` to `8.14`:
- [[doc] Allow copying as curl for saved object rollback instructions
(#200187)](https://github.com/elastic/kibana/pull/200187)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Jesus
Wahrman","email":"41008968+jesuswr@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-18T09:04:20Z","message":"[doc]
Allow copying as curl for saved object rollback instructions
(#200187)\n\n## Summary\r\n\r\nChanged the doc file so it allows to copy
as
curl.\r\n\r\n[Issue](https://github.com/elastic/kibana/issues/198490)\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7cb5b4d3cc3fedfdbdb9253e0b442076158ef7a5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","docs","v8.8.3","v8.9.3","v8.10.5","v8.11.5","v8.12.3","v8.13.5","v8.14.4","backport:version","v8.17.0","v8.16.1","v8.18.0","v8.15.5"],"title":"[doc]
Allow copying as curl for saved object rollback
instructions","number":200187,"url":"https://github.com/elastic/kibana/pull/200187","mergeCommit":{"message":"[doc]
Allow copying as curl for saved object rollback instructions
(#200187)\n\n## Summary\r\n\r\nChanged the doc file so it allows to copy
as
curl.\r\n\r\n[Issue](https://github.com/elastic/kibana/issues/198490)\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7cb5b4d3cc3fedfdbdb9253e0b442076158ef7a5"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.9","8.10","8.11","8.12","8.13","8.14","8.x","8.16","8.18","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200187","number":200187,"mergeCommit":{"message":"[doc]
Allow copying as curl for saved object rollback instructions
(#200187)\n\n## Summary\r\n\r\nChanged the doc file so it allows to copy
as
curl.\r\n\r\n[Issue](https://github.com/elastic/kibana/issues/198490)\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7cb5b4d3cc3fedfdbdb9253e0b442076158ef7a5"}},{"branch":"8.8","label":"v8.8.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.10","label":"v8.10.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.11","label":"v8.11.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.13","label":"v8.13.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.14","label":"v8.14.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jesus Wahrman <41008968+jesuswr@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2024-11-18 20:35:39 +11:00 committed by GitHub
parent ed6081e63b
commit 1e7e04eeca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ To roll back after a failed upgrade migration, you must also roll back the {kib}
. To make sure no {kib} instances are performing an upgrade migration, shut down all {kib} instances.
. {ref}/snapshots-restore-snapshot.html[Restore] the `kibana` feature state from a snapshot taken before the failed {kib} upgrade. The following {es} request will only restore the {kib} feature state
+
[source,sh]
[source,console]
--------------------------------------------
POST _snapshot/my_repository/my_snapshot_2099.05.06/_restore
{