Restore index from another cluster

Hi, I'm struggle trying to restore an index from a snapshot to another cluster. The steps I've following are:

  • make a backup of the index on the original cluster
  • create the snapshot repository on the other cluster, just a copy of the original cluster:
    "backup" : {
    "type" : "fs",
    "settings" : {
    "compress" : "true",
    "location" : "/var/elasticsearch/backup"
    }
  • copy the content of /var/elasticsearch/backup of the original cluster to the another one
  • restart the elasticsearch

Afterwards, I run on the target cluster:
curl -XGET 10.1.2.3:9200/_snapshot/backup/_all?pretty'
but it doesn't contain anything:
"snapshots" :

Not sure what I'm doing wrong. I've removed the repository and created it again, restarted the elasticsearch but the same issue.

Could you please help me with this issue?

Thanks in advance!

1 Like

Did you set the repo in the config, as per https://www.elastic.co/guide/en/elasticsearch/reference/6.6/modules-snapshots.html#_shared_file_system_repository?

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