# Failed to create repository

**URL:** <https://discuss.elastic.co/t/failed-to-create-repository/380705>\
**Category:** Elasticsearch\
**Created:** [August 4, 2025, 5:15am UTC](https://discuss.elastic.co/t/failed-to-create-repository/380705 "2025-08-04T05:15:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [August 4, 2025, 10:36am UTC](https://discuss.elastic.co/t/failed-to-create-repository/380705/2 "2025-08-04T10:36:37Z")

</div>

Hi @deepakraja,

Welcome! Is this for a self-managed installation? Similar to the answer [in this question](https://discuss.elastic.co/t/setting-up-snapshot-repository-what-to-set-for-path-repo/257717) you would specify the option in the `elasticsearch.yml`:

```yml
path.repo: ["/backup/es_backup_for_snapshot"]

```

Let us know if that's the information you need.

---

_[View the full topic](https://discuss.elastic.co/t/failed-to-create-repository/380705)._
