Mount snapshot APIedit

Mount a snapshot as a searchable snapshot index.


POST /_snapshot/<repository>/<snapshot>/_mount


If the Elasticsearch security features are enabled, you must have the manage cluster privilege and the manage index privilege for any included indices to use this API. For more information, see Security privileges.


Path parametersedit

(Required, string) The name of the repository containing the snapshot of the index to mount.
(Required, string) The name of the snapshot of the index to mount.

Query parametersedit

(Optional, time units) Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30s.
(Optional, Boolean) If true, the request blocks until the operation is complete. Defaults to false.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

(Optional, string) Selects the kind of local storage used to accelerate searches of the mounted index. If full_copy, each node holding a shard of the searchable snapshot index makes a full copy of the shard to its local storage. If shared_cache, the shard uses the shared cache. Defaults to full_copy. See Mount options.

Request bodyedit

(Required, string) Name of the index contained in the snapshot whose data is to be mounted.

If no renamed_index is specified this name will also be used to create the new index.


(Optional, string) Name of the index that will be created.


(Optional, object) Settings that should be added to the index when it is mounted.


(Optional, array of strings) Names of settings that should be removed from the index when it is mounted.


Mounts the index my_docs from an existing snapshot named my_snapshot stored in the my_repository as a new index docs:

POST /_snapshot/my_repository/my_snapshot/_mount?wait_for_completion=true
  "index": "my_docs", 
  "renamed_index": "docs", 
  "index_settings": { 
    "index.number_of_replicas": 0
  "ignore_index_settings": [ "index.refresh_interval" ] 

The name of the index in the snapshot to mount

The name of the index to create

Any index settings to add to the new index

List of index settings to ignore when mounting the snapshotted index