Clone a snapshot
- PUT /_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}
Clone part of all of a snapshot into another snapshot in the same repository.
- Cluster privileges:
manage
Path Parameters
-
repositorystring Namerequired -
The name of the snapshot repository that both source and target snapshot belong to.
-
snapshotstring Namerequired -
The source snapshot name.
-
target_snapshotstring Namerequired -
The target snapshot name.
Query Parameters
-
master_timeoutstring Duration · default: 30s The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to
-1.
Request
-
indicesstringrequired -
A comma-separated list of indices to include in the snapshot. Multi-target syntax is supported.
Response
application/json
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.