Verify a snapshot repository
- POST /_snapshot/{repository}/_verify
Check for common misconfigurations in a snapshot repository.
- Cluster privileges:
manage
Path Parameters
-
repositorystring Namerequired -
The name of the snapshot repository to verify.
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.-
timeoutstring Duration · default: 30s The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. To indicate that the request should never timeout, set it to
-1.
Response
-
nodesmap string to CompactNodeInforequired -
Information about the nodes connected to the snapshot repository. The key is the ID of the node.
-
<string>CompactNodeInfo -
namestring Namerequired -
A human-readable name for the node. You can set this name using the
node.nameproperty inelasticsearch.yml. The default value is the machine's hostname.