Skip to content

Commit c351b51

Browse files
authored
[Docs] Fix inconsistencies in snapshot/restore doc (#30480)
Closes #30444
1 parent 2844bcb commit c351b51

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/plugins/repository-azure.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ When `proxy.type` is set to `http` or `socks`, `proxy.host` and `proxy.port` mus
8484

8585

8686
[[repository-azure-repository-settings]]
87-
===== Repository settings
87+
==== Repository settings
8888

8989
The Azure repository supports following settings:
9090

@@ -178,7 +178,7 @@ client.admin().cluster().preparePutRepository("my_backup_java1")
178178
----
179179

180180
[[repository-azure-validation]]
181-
===== Repository validation rules
181+
==== Repository validation rules
182182

183183
According to the http://msdn.microsoft.com/en-us/library/dd135715.aspx[containers naming guide], a container name must
184184
be a valid DNS name, conforming to the following naming rules:

docs/reference/modules/snapshots.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ the shared file system repository it is necessary to mount the same shared files
124124
master and data nodes. This location (or one of its parent directories) must be registered in the `path.repo`
125125
setting on all master and data nodes.
126126

127-
Assuming that the shared filesystem is mounted to `/mount/backups/my_backup`, the following setting should be added to
128-
`elasticsearch.yml` file:
127+
Assuming that the shared filesystem is mounted to `/mount/backups/my_fs_backup_location`, the following setting should
128+
be added to `elasticsearch.yml` file:
129129

130130
[source,yaml]
131131
--------------
@@ -141,7 +141,7 @@ path.repo: ["\\\\MY_SERVER\\Snapshots"]
141141
--------------
142142

143143
After all nodes are restarted, the following command can be used to register the shared file system repository with
144-
the name `my_backup`:
144+
the name `my_fs_backup`:
145145

146146
[source,js]
147147
-----------------------------------
@@ -419,7 +419,7 @@ A repository can be unregistered using the following command:
419419

420420
[source,sh]
421421
-----------------------------------
422-
DELETE /_snapshot/my_fs_backup
422+
DELETE /_snapshot/my_backup
423423
-----------------------------------
424424
// CONSOLE
425425
// TEST[continued]

0 commit comments

Comments
 (0)