mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 10:54:54 +00:00
[Docs] Fix inconsistencies in snapshot/restore doc (#30480)
Closes #30444
This commit is contained in:
parent
2844bcbcc8
commit
c351b51ac4
@ -84,7 +84,7 @@ When `proxy.type` is set to `http` or `socks`, `proxy.host` and `proxy.port` mus
|
|||||||
|
|
||||||
|
|
||||||
[[repository-azure-repository-settings]]
|
[[repository-azure-repository-settings]]
|
||||||
===== Repository settings
|
==== Repository settings
|
||||||
|
|
||||||
The Azure repository supports following settings:
|
The Azure repository supports following settings:
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ client.admin().cluster().preparePutRepository("my_backup_java1")
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[repository-azure-validation]]
|
[[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
|
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:
|
be a valid DNS name, conforming to the following naming rules:
|
||||||
|
@ -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`
|
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.
|
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
|
Assuming that the shared filesystem is mounted to `/mount/backups/my_fs_backup_location`, the following setting should
|
||||||
`elasticsearch.yml` file:
|
be added to `elasticsearch.yml` file:
|
||||||
|
|
||||||
[source,yaml]
|
[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
|
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]
|
[source,js]
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
@ -419,7 +419,7 @@ A repository can be unregistered using the following command:
|
|||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
DELETE /_snapshot/my_fs_backup
|
DELETE /_snapshot/my_backup
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
// CONSOLE
|
// CONSOLE
|
||||||
// TEST[continued]
|
// TEST[continued]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user