From 2522fadac4e44af0a37f8b2870849a4087972709 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Wed, 9 May 2018 10:11:53 +0200 Subject: [PATCH] [Docs] Fix inconsistencies in snapshot/restore doc 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 9f80e4ab91c60..893acf05a4bad 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 f70857e66c86f..7efcf222f3ac0 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] ----------------------------------- @@ -419,7 +419,7 @@ A repository can be unregistered using the following command: [source,sh] ----------------------------------- -DELETE /_snapshot/my_fs_backup +DELETE /_snapshot/my_backup ----------------------------------- // CONSOLE // TEST[continued]