Check for common misconfigurations in a snapshot repository.
manageThe 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.
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.
POST _snapshot/my_unverified_backup/_verify
resp = client.snapshot.verify_repository(
name="my_unverified_backup",
)
const response = await client.snapshot.verifyRepository({
name: "my_unverified_backup",
});
response = client.snapshot.verify_repository(
repository: "my_unverified_backup"
)
$resp = $client->snapshot()->verifyRepository([
"repository" => "my_unverified_backup",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_snapshot/my_unverified_backup/_verify"
client.snapshot().verifyRepository(v -> v
.name("my_unverified_backup")
);