# Delete actual config of snapshot

**URL:** <https://discuss.elastic.co/t/delete-actual-config-of-snapshot/316295>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [October 11, 2022, 9:05am UTC](https://discuss.elastic.co/t/delete-actual-config-of-snapshot/316295 "2022-10-11T09:05:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abkrim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abkrim/32/20217_2.png) [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Post date:** [October 11, 2022, 9:05am UTC](https://discuss.elastic.co/t/delete-actual-config-of-snapshot/316295/1 "2022-10-11T09:05:35Z")

</div>

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

```auto
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

```auto
[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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2022, 9:06am UTC](https://discuss.elastic.co/t/delete-actual-config-of-snapshot/316295/2 "2022-11-08T09:06:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
