I am trying to restore my elasticsearch on a new machine.
I copied the backup across, set up a new repo with the same name (called myrep). I have check if this works by doing:
> `GET http://127.0.0.1:9200/_snapshot`
which returned:
{
"myrep": {
"type": "fs",
"settings": {
"compress": "true",
"location": "myrep"
}
}
}
When I try to do a restore doing:
POST http://127.0.0.1:9200/_snapshot/myrep/snapshot_1/_restore
I get an error:
{
"error": {
"root_cause": [
{
"type": "snapshot_restore_exception",
"reason": "[myrep:snapshot_1]snapshot does not exist"
}
],
"type": "snapshot_restore_exception",
"reason": "[myrep:snapshot_1]snapshot does not exist"
},
"status": 500
}
More info:
When I do
I only see indices that the machine already had, not the ones that I want restored...
Can anyone help?
Edit: I believe this problem is occuring because im coming from 1.7 to 5.0+, right? Can someone confirm?