Choose where to store data

I would like to know if there is any way to move old indices to a different drive, like, for example a SAN drive. This way, the old data could be backed up in a different drive, maybe slower.

Greetings,

Carlos Vega

Unless you want to do that on a running cluster it should be as simple as moving the files over and telling ES about the new directory. See also:

http://elasticsearch-users.115913.n3.nabble.com/moving-data-directory-td4030005.html

For more documentation on how to configure data directories see also here:

https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-dir-layout.html

Hope this helps,
Isabel

I want to do it on a running cluster, like, moving all indices older than 2 months, to a different path.

Greetings,

Carlos Vega

I don't think you can move old documents/indexes to another path on the same node, but for separate nodes it's certainly possible. See https://www.elastic.co/blog/hot-warm-architecture.

The resons behind this hipoteticall feature would be to move old data to a bigger, slower, storage system. I like that it is possible to use JBOD and RAID systems, but would be awesome to move old data to slower paths.