From 38e7d1814f9841c5cd7a157b4d29c085e437f5b0 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Tue, 22 May 2018 09:19:07 +0200 Subject: [PATCH] [Docs] Fix inconsistencies in snapshot/restore doc (#30480) Closes #30444 --- docs/plugins/repository-azure.asciidoc | 4 ++-- docs/reference/modules/snapshots.asciidoc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/plugins/repository-azure.asciidoc b/docs/plugins/repository-azure.asciidoc index afff74089db7d..8ca39651ff071 100644 --- a/docs/plugins/repository-azure.asciidoc +++ b/docs/plugins/repository-azure.asciidoc @@ -84,7 +84,7 @@ When `proxy.type` is set to `http` or `socks`, `proxy.host` and `proxy.port` mus [[repository-azure-repository-settings]] -===== Repository settings +==== Repository settings The Azure repository supports following settings: @@ -178,7 +178,7 @@ client.admin().cluster().preparePutRepository("my_backup_java1") ---- [[repository-azure-validation]] -===== Repository validation rules +==== Repository validation rules According to the http://msdn.microsoft.com/en-us/library/dd135715.aspx[containers naming guide], a container name must be a valid DNS name, conforming to the following naming rules: diff --git a/docs/reference/modules/snapshots.asciidoc b/docs/reference/modules/snapshots.asciidoc index ea3f99debb94e..5b3252c498e01 100644 --- a/docs/reference/modules/snapshots.asciidoc +++ b/docs/reference/modules/snapshots.asciidoc @@ -124,8 +124,8 @@ the shared file system repository it is necessary to mount the same shared files master and data nodes. This location (or one of its parent directories) must be registered in the `path.repo` setting on all master and data nodes. -Assuming that the shared filesystem is mounted to `/mount/backups/my_backup`, the following setting should be added to -`elasticsearch.yml` file: +Assuming that the shared filesystem is mounted to `/mount/backups/my_fs_backup_location`, the following setting should +be added to `elasticsearch.yml` file: [source,yaml] -------------- @@ -141,7 +141,7 @@ path.repo: ["\\\\MY_SERVER\\Snapshots"] -------------- After all nodes are restarted, the following command can be used to register the shared file system repository with -the name `my_backup`: +the name `my_fs_backup`: [source,js] ----------------------------------- @@ -405,7 +405,7 @@ A repository can be unregistered using the following command: [source,sh] ----------------------------------- -DELETE /_snapshot/my_fs_backup +DELETE /_snapshot/my_backup ----------------------------------- // CONSOLE // TEST[continued]