> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /verify/backup

```
URL: http://<db.host>:<db.port>/verify/backup
```

Inspects the requested database
[backup(s)](../../admin/backup_restore/#database-backup) for conformity
at the remote file store accessible via the
[data source](../../concepts/data_sources/) specified by input parameter
*datasource\_name*. By default all snapshots are inspected unless the option
*backup\_id* is used to target a specific instance. Returns backup verification
results.

## Input Parameter Description

<ParamField body="backup_name" type="string">
  Name of the backup. An empty string or '*' will check all existing backups. Any text followed by a '*' will inspect backups whose name starts with that text.

  The default value is ''.
</ParamField>

<ParamField body="datasource_name" type="string">
  Data source through which the backup is accessible.
</ParamField>

<ParamField body="options" type="map of string to strings">
  Optional parameters.

  The default value is an empty map ( \{} ).

  <Expandable title="options">
    <ParamField body="backup_id">
      ID of the snapshot to verify. Set to '-1' to verify only the most recent snapshot in the backup. Leave empty to verify all snapshots.

      The default value is `-1`.
    </ParamField>
  </Expandable>
</ParamField>

## Output Parameter Description

The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query.  Here is a description of the various fields of the wrapper:

<ResponseField name="status" type="String">
  'OK' or 'ERROR'
</ResponseField>

<ResponseField name="message" type="String">
  Empty if success or an error message
</ResponseField>

<ResponseField name="data_type" type="String">
  'verify\_backup\_response' or 'none' in case of an error
</ResponseField>

<ResponseField name="data" type="String">
  Empty string
</ResponseField>

<ResponseField name="data_str" type="JSON or String">
  This embedded JSON represents the result of the /verify/backup endpoint:

  <Expandable title="data_str">
    <ResponseField name="backup_name" type="string">
      Value of input parameter *backup\_name*.
    </ResponseField>

    <ResponseField name="backup_names" type="array of strings">
      Backup name(s).
    </ResponseField>

    <ResponseField name="backup_ids" type="array of arrays of longs">
      IDs of individual snapshots per backup name.
    </ResponseField>

    <ResponseField name="errors" type="array of arrays of strings">
      Any errors detected from the inspection of each backup.
    </ResponseField>

    <ResponseField name="info" type="map of string to strings">
      Additional information.
    </ResponseField>
  </Expandable>

  Empty string in case of an error.
</ResponseField>
