Elastic Search node backup and restore

I have 2 unconnected nodes of Elasticsearch, one at 7.11 level and another at latest 8.15. I want to backup and restore all the data from 7.11 node to 8.15 node. I took a snapshot on 7.11 node. Moved (using another server, since both nodes are not connected) it to a folder on 8.15 node, added to the repo, but when I try "GET _snapshot/my_backup_repo/_all", it doesn't return anything. I assume the snapshot taken from 7.11 is incompatible on 8.15.

I cannot use the reindex method also, since both nodes are not connected.

If I were to copy(using another server) file system /data along with indices folder from 7.11 to 8.15 node, would it work, will there be any compatibility issues ?

Are there any other methods to move all the data from 7.11 to 8.15 node.

P.S. - I can't upgrade to 7.17 from 7.11 before taking the snapshot, because I am using custom packed Elasticsearch on ppc64le, since it is not officially supported.

No, that should work fine as long as the indices were created in Elasticsearch 7.x. I have used that method in the past so suspect you must have done something wrong.

This will not work. Your initial approach is the correct one.

If you are running an unsupported distribution all bets are off and there may be incompatibilities.

I would recommend switching to an official distribution as you would be able to get help here around that even if it means switching hardware.

1 Like