Verify a snapshot repository Generally available; Added in 0.0.0

POST /_snapshot/{repository}/_verify

Check for common misconfigurations in a snapshot repository.

Required authorization

  • Cluster privileges: manage
External documentation

Path parameters

  • repository string Required

    A repository name

Query parameters

  • master_timeout string

    Explicit operation timeout for connection to master node

    Values are -1 or 0.

  • timeout string

    Explicit operation timeout

    Values are -1 or 0.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • nodes object Required
      Hide nodes attribute Show nodes attribute object
      • * object Additional properties
        Hide * attribute Show * attribute object
        • name string Required
POST /_snapshot/{repository}/_verify
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"