Clone a snapshot Added in 7.10.0
Clone part of all of a snapshot into another snapshot in the same repository.
Path parameters
-
A repository name
-
The name of the snapshot to clone from
-
The name of the cloned snapshot to create
Query parameters
-
master_timeout string
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) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
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
}