Clone a snapshot

Auth

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

Required authorization

Cluster privileges manage

Path parameters

repository string required

The name of the snapshot repository that both source and target snapshot belong to.

snapshot string required

The source snapshot name.

target_snapshot string required

The target snapshot name.

Query parameters

master_timeout string · 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 body

indices string required

A comma-separated list of indices to include in the snapshot. Multi-target syntax is supported.

Response

application/json
acknowledged boolean required

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