Type to search.

Clone a snapshot

Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 7.10 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

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

Required privileges

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.