hi,all.
we have backup data by snapshot, want restore to a new es server. we have cp all snapshot file to new server already , can create backup repository ,and check it ok,
{"backup":{"type":"fs","settings":{"location":"/esdata/mntsnapshot","max_restore_bytes_per_sec":"100mb","compress":"true","max_snapshot_bytes_per_sec":"100mb"}}}
then we check the snapshot status, it is ok also
{
"snapshots" : [ {
"snapshot" : "snapshot20180425",
"version_id" : 2040099,
"version" : "2.4.0",
"indices" : [ "fofapro" ],
"state" : "SUCCESS",
"start_time" : "2018-04-25T04:00:02.611Z",
"start_time_in_millis" : 1524628802611,
"end_time" : "2018-04-25T04:27:49.811Z",
"end_time_in_millis" : 1524630469811,
"duration_in_millis" : 1667200,
"failures" : [ ],
"shards" : {
"total" : 5,
"failed" : 0,
"successful" : 5
}
} ]
}
i tyr to restore by api : curl -XPOST http://localhost:9200/_snapshot/backup/snapshot20180425/_restore
but no response, and no error info , no data restore . any one knows what is the problem? please help .thanks.
both Elasticsearch version is 2.4.0