Skip to content

Commit

Permalink
docs: fix numbering in restore-snapshot.asciidoc (elastic#103769) (el…
Browse files Browse the repository at this point in the history
…astic#103851)

* docs: fix numbering in restore-snapshot.asciidoc

Fix numbering in "Restore an entire cluster" section.
Remove "3." for "Universal Profiling" and add "3." just before "If you use Elasticsearch security features"

* Keep ID, fix list rendering

---------

Co-authored-by: Fabien Baligand <fbaligand@gmail.com>
  • Loading branch information
abdonpijpelink and fbaligand committed Jan 3, 2024
1 parent 78b990c commit cd8e1e6
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docs/reference/snapshot-restore/restore-snapshot.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,7 @@ POST _watcher/_start
----
// TEST[continued]
////
--


. {blank}
+
--
* Universal Profiling
+
Check if Universal Profiling index template management is enabled:
Expand All @@ -385,22 +380,25 @@ PUT _cluster/settings
}
}
----
--

[[restore-create-file-realm-user]]
If you use {es} security features, log in to a node host, navigate to the {es}
installation directory, and add a user with the `superuser` role to the file
realm using the <<users-command,`elasticsearch-users`>> tool.
. [[restore-create-file-realm-user]]If you use {es} security features, log in to
a node host, navigate to the {es} installation directory, and add a user with
the `superuser` role to the file realm using the
<<users-command,`elasticsearch-users`>> tool.
+

For example, the following command creates a user named `restore_user`.
+

[source,sh]
----
./bin/elasticsearch-users useradd restore_user -p my_password -r superuser
----
+

Use this file realm user to authenticate requests until the restore operation is
complete.
--

. Use the <<cluster-update-settings,cluster update settings API>> to set
<<action-destructive-requires-name,`action.destructive_requires_name`>> to
Expand Down

0 comments on commit cd8e1e6

Please sign in to comment.