Mount a snapshot
- POST /_snapshot/{repository}/{snapshot}/_mount
Mount a snapshot as a searchable snapshot index. Do not use this API for snapshots managed by index lifecycle management (ILM). Manually mounting ILM-managed snapshots can interfere with ILM processes.
Required authorization
- Index privileges manage
- Cluster privileges manage
Query parameters
-
master_timeoutstring · 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. -
wait_for_completionboolean · default: false -
If true, the request blocks until the operation is complete.
-
storage· default: full_copy -
The mount option for the searchable snapshot index. For further information on mount options, refer to: Mount options
Supported values include:
full_copy: Fully caches the snapshotted index’s shards in the Elasticsearch cluster.shared_cache: Uses a local cache containing only recently searched parts of the snapshotted index’s data.
-
Values:
full_copyshared_cache
Response
application/json