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": "illegal_argument_exception",
"reason": "Unknown parameter type"
}
],
"type": "illegal_argument_exception",
"reason": "Unknown parameter type"
},
"status": 400
}
Can anyone help?