Skip to content

Commit

Permalink
Add explanation of path.data to contribution guide (#54235)
Browse files Browse the repository at this point in the history
* Add explanation of path.data to contribution guide

* Change title slightly
  • Loading branch information
Tim Roes authored Jan 8, 2020
1 parent 3b5a90b commit fdea7b0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,19 @@ These snapshots are built on a nightly basis which expire after a couple weeks.
yarn es snapshot
```

##### Keeping data between snapshots

If you want to keep the data inside your Elasticsearch between usages of this command,
you should use the following command, to keep your data folder outside the downloaded snapshot
folder:

```bash
yarn es snapshot -E path.data=../data
```

The same parameter can be used with the source and archive command shown in the following
paragraphs.

#### Source

By default, it will reference an [elasticsearch](https://github.com/elastic/elasticsearch) checkout which is a sibling to the Kibana directory named `elasticsearch`. If you wish to use a checkout in another location you can provide that by supplying `--source-path`
Expand Down

0 comments on commit fdea7b0

Please sign in to comment.