Clone a snapshot Added in 7.10.0

PUT /_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}

Clone part of all of a snapshot into another snapshot in the same repository.

Path parameters

Query parameters

  • Explicit operation timeout for connection to master node

  • timeout string

    A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and d (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.

application/json

Body Required

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

PUT /_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}
curl \
 -X PUT http://api.example.com/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot} \
 -H "Content-Type: application/json" \
 -d '{"indices":"string"}'
Request examples
{
  "indices": "string"
}
Response examples (200)
{
  "acknowledged": true
}