[DOC] inconsistency with my_backup examples #30444
Labels
>bug
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
>docs
General docs changes
Elasticsearch version (
bin/elasticsearch --version
): Docs issue withhttps://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html
Description of the problem including expected versus actual behavior:
The Repositories section includes a few examples referencing
my_backup
likePUT /_snapshot/my_backup
and
GET /_snapshot/my_backup
But in the Shared File System Repository section it keeps referring to
my_backup
in the text but isn't using that in the examples so it makes it rather confusing;"... 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:"
path.repo: ["/mount/backups", "/mount/longterm_backups"]
And again here. It looks like maybe
my_backup
was changed tomy_fs_backup
but I don't know snapshots very well so I could me misinterpreting it."After all nodes are restarted, the following command can be used to register the shared file system repository with the name my_backup:"
And then a few more examples alternate between
my_backup
andmy_fs_backup
;GET /_snapshot/my_backup/_current
DELETE /_snapshot/my_backup/snapshot_2
DELETE /_snapshot/
my_fs_backup
POST /_snapshot/my_backup/snapshot_1/_restore
The text was updated successfully, but these errors were encountered: