Restore snapshot to new server

hello i want to ask, is it possible to restore snapshot from old server to new server

Yes - as long as the new server is running the same or newer version of Elasticsearch. You also need to ensure that the indices being restored were created in a version of Elasticsearch that is compatible with the version you are installing into (Elasticsearch can only read indices created under the previous major version, not older versions).

can you give an example of how to restore to a new server?

Do the following:

  • Verify all indices were created in a supported version using e.g. the cluster stats API.
  • Create and take a snapshot using the snapshot and restore API.
  • Make this snapshot available to the new cluster and set it up as a read-only snapshot repository.
  • Use the restore API to restore indices from the snapshot.
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.