Is its possible to restore a FAILED snapshot (only 2 shards failed) on elasticsearch@5.0.0?

I have a snapshot that failed due to "Indices don't have primary shards [idx-2018-02, idx-2017-12]".

According to the docs i should be able to restore the successfully snapshotted shards by setting partial to true.
But if i do:

curl -XPOST "server:9200/_snapshot/backups/snp-2018-03-05/_restore?pretty" -d '
{
"include_global_state": true,
"partial": true
}
'

I get:

unsupported snapshot state [FAILED]

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