After working for a while in test mode, I wanted to start using NFS as a mount point for snapshots.
- I had a configuration in the
elasticsearch.yml
file `path.repo:/snapshot_elk - I remember creating the snapshot with Kibana
GET_snapshot/*
{
"back-up": {
"type": "fs",
"uuid": "67-oX9ZgQRW2sh7u1sOmxg",
"settings": {
"compress": "true",
"location": "/snapshot_elk"
}
}
}
I have changed the path in the elasticsearch.yml
file to path.repo: /mnt/nfs/elasticsearch/cluster01
But when restarting elasticsearch I see the errors
[2022-10-11T08:51:42,677][WARN ][o.e.r.f.FsRepository ] [elk.myhost.com] The specified location [/snapshot_elk] doesn't start with any repository paths specified by the path.repo setting: [[ /mnt/nfs/elasticsearch/cluster01]]
[2022-10-11T08:51:42,678][WARN ][o.e.r.RepositoriesService] [elk.myhost.com] failed to create repository [fs][backup]
org.elasticsearch.repositories.RepositoryException: [backup] location [/snapshot_elk] doesn't match any of the locations specified by path.repo
I am lost because I don't even know what my snapshot is called or how to delete it or modify it from the configuration to start from 0