# Backup elastic indices

**URL:** <https://discuss.elastic.co/t/backup-elastic-indices/139417>\
**Category:** Elasticsearch\
**Created:** [July 10, 2018, 6:42pm UTC](https://discuss.elastic.co/t/backup-elastic-indices/139417 "2018-07-10T18:42:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gabriel\_tessier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_tessier/32/27911_2.png) [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)\
**Post date:** [July 11, 2018, 12:30am UTC](https://discuss.elastic.co/t/backup-elastic-indices/139417/2 "2018-07-11T00:30:21Z")

</div>

one suggestion is to copy your error message in google:

> location [janusindex] doesn’t match any of the locations specified by path.repo because this setting is empty

Then go to the first result found:

> [@Path.repo is empty](https://discuss.elastic.co/t/path-repo-is-empty/25166/4):
>
> Ok. Finally I found there was a problem... In Ubuntu the elasticsearch directory configured directly in init script /etc/init.d/elasticsearch and then laucnhed via DAEMON\_OPTS like : DAEMON\_OPTS="-d -p $PID\_FILE --default.config=$CONF\_FILE --default.path.home=$ES\_HOME --default.path.logs=$LOG\_DIR --default.path.data=$DATA\_DIR --default.path.work=$WORK\_DIR --default.path.conf=$CONF\_DIR" So for the moment I could fix the problem adding : REPO\_DIR=/backup/es\_backup\_basic and DAEMON\_OPTS=…

and then read it, look like several users had the same problem, you may find one solution in the thread.

---

_[View the full topic](https://discuss.elastic.co/t/backup-elastic-indices/139417)._
