Snapshot restore to another cluster - snapshot does not exist exception

Hi,
I've started a 5.2.1 cluster, and I'm trying to restore all of the data from the old 2.3 cluster.

  1. I did an initial snapshot to S3, it was successful, and I've managed to restore it to the new cluster.
  2. I did another snapshot with a different name with the few missing indices (my indices are date based)
  3. I'm unable to restore the new snapshot to the new cluster, the exception is"snapshot does not exist" .

When trying to get the status of the snapshot:
old cluster:

curl -XGET http://old-cluster:9200/_snapshot/s3-elk-repo/snapshot-040317?pretty

{
"snapshots" : [ {
"snapshot" : "snapshot-040317",
"version_id" : 2030299,
"version" : "2.3.2",
"indices" : [ "logstash-2017.03.03", "logstash-2017.02.27", "logstash-2017.02.22", "logstash-2017.03.01", "logstash-2017.03.02", "logstash-2017.02.28" ],
"state" : "SUCCESS",
"start_time" : "2017-03-04T15:21:50.138Z",
"start_time_in_millis" : 1488640910138,
"end_time" : "2017-03-04T16:37:06.024Z",
"end_time_in_millis" : 1488645426024,
"duration_in_millis" : 4515886,
"failures" : [ ],
"shards" : {
"total" : 12,
"failed" : 0,
"successful" : 12
}
} ]
}

And the new cluster:

curl -XGET http://new-cluster:9200/_snapshot/s3-elk-repo/snapshot-040317?pretty

{
"error" : {
"root_cause" : [
{
"type" : "snapshot_missing_exception",
"reason" : "[s3-elk-repo:snapshot-040317] is missing"
}
],
"type" : "snapshot_missing_exception",
"reason" : "[s3-elk-repo:snapshot-040317] is missing"
},
"status" : 404
}

Can you please help? I don't understand what's not working here...

1 Like

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