younifyd
Menu

Verify the repository integrity

Verify the repository integrity

POST/_snapshot/{repository}/_verify_integrity

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Verify the repository integrity action (under snapshot).
  3. Fill in the fields below, then reference the result from later steps as {{verifyTheRepositoryIntegrity.response.data}}.

Request

Path parameters

repositoryoneOfrequired

The name of the snapshot repository.

Query parameters

blob_thread_pool_concurrencynumber

If `verify_blob_contents` is `true`, this parameter specifies how many blobs to verify at once.

index_snapshot_verification_concurrencynumber

The maximum number of index snapshots to verify concurrently within each index verification.

index_verification_concurrencynumber

The number of indices to verify concurrently. The default behavior is to use the entire `snapshot_meta` thread pool.

max_bytes_per_secstring

If `verify_blob_contents` is `true`, this parameter specifies the maximum amount of data that Elasticsearch will read from the repository every second.

max_failed_shard_snapshotsnumber

The number of shard snapshot failures to track during integrity verification, in order to avoid excessive resource usage. If your repository contains more than this number of shard snapshot failures, the verification will fail.

meta_thread_pool_concurrencynumber

The maximum number of snapshot metadata operations to run concurrently. The default behavior is to use at most half of the `snapshot_meta` thread pool at once.

snapshot_verification_concurrencynumber

The number of snapshots to verify concurrently. The default behavior is to use at most half of the `snapshot_meta` thread pool at once.

verify_blob_contentsboolean

Indicates whether to verify the checksum of every data blob in the repository. If this feature is enabled, Elasticsearch will read the entire repository contents, which may be extremely slow and expensive.

Response

Returns 200 with an object. Read it in later steps with {{verifyTheRepositoryIntegrity.response.data.<field>}}.

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Verify the repository integrity — Elasticsearch — Documentation