I'm on Elasticsearch 2.3.1 locally but on the 2.3.4 on ElasticCloud. I want to keep all my indices and other data. What's involved in upgrading locally to 2.3.4?
How have you installed ES? RPM/Debian package? Tarball unpacked somewhere?
I'm on Mac OS X. I downloaded from your site the zip file.
Just remove the old program files and unpack the zip archive for 2.3.4. There's no special upgrade procedure (for such a minor upgrade anyway—but do read the release notes for 2.3.3 and 2.3.4 anyway). Make sure you don't touch the data directory.
Thanks. I'll give it a try. I guess in the future I should name the directory "elasticsearch" instead of the default "elasticsearch-2.3.1" directory that it unzipped to.
Actually could I leave the old version there and just copy over the data directory to the new installation?
Actually could I leave the old version there and just copy over the data directory to the new installation?
Sure. And while you're at it, change the configuration so that the data directory is somewhere else, outside the unpacked distribution archive.