Move index/data to new drive


(garryc) #1

Hello

I'm trying to figure out how to move the ES indexes from one drive to anther. Our current setup was not customized and all data is being written to a small partition and we'd like to move it to a larger one.

Is it just a matter of updating the elasticsearch.yml with the 'path.data:' and then copying the data to the new location?

I noticed that the indexes are located in:

/var/lib/elasticsearch//nodes/0/indices

Do I just replace '/var/lib/elasticsearch/' in the config file and copy '/nodes/0/indices'

thanx
Garry


(system) #2