> ## 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.

# verifyBackup

<div className="kinetica-doxygen">
  <div id="a325cc59d8043c7103b453f94e822e341" />

  <h2 className="memtitle"><span className="permalink"><a href="#a325cc59d8043c7103b453f94e822e341">◆ </a></span>verifyBackup() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">VerifyBackupResponse</a> gpudb::GPUdb::verifyBackup </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">backupName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">datasourceName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Inspects the requested database <a href="/content/admin/backup_restore/#database-backup" target="_top">backup(s)</a> for conformity at the remote file store accessible via the <a href="/content/concepts/data_sources/" target="_top">data source</a> specified by <span className="em arg">datasourceName</span>. </p>
      <p>By default all snapshots are inspected unless the option <a className="el" href="/content/api/cpp/namespacegpudb#ac281b7978044af859ef0c89b25f66fa8">backup\_id</a> is used to target a specific instance. Returns backup verification results.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">backupName</td>
              <td>Name of the backup. An empty string or '<span className="em">' will check all existing backups. Any text followed by a '</span>' will inspect backups whose name starts with that text. The default value is ''. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">datasourceName</td>
              <td>Data source through which the backup is accessible. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac281b7978044af859ef0c89b25f66fa8">verify\_backup\_backup\_id</a>: ID of the snapshot to verify. Set to '-1' to verify all snapshots in the backup. Leave empty to verify only the most recent snapshot. The default value is '-1'. </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ac9214f0312c763965a52b68aa3c543d2" />

  <h2 className="memtitle"><span className="permalink"><a href="#ac9214f0312c763965a52b68aa3c543d2">◆ </a></span>verifyBackup() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">VerifyBackupResponse</a> & gpudb::GPUdb::verifyBackup </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">backupName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">datasourceName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">VerifyBackupResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Inspects the requested database <a href="/content/admin/backup_restore/#database-backup" target="_top">backup(s)</a> for conformity at the remote file store accessible via the <a href="/content/concepts/data_sources/" target="_top">data source</a> specified by <span className="em arg">datasourceName</span>. </p>
      <p>By default all snapshots are inspected unless the option <a className="el" href="/content/api/cpp/namespacegpudb#ac281b7978044af859ef0c89b25f66fa8">backup\_id</a> is used to target a specific instance. Returns backup verification results.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">backupName</td>
              <td>Name of the backup. An empty string or '<span className="em">' will check all existing backups. Any text followed by a '</span>' will inspect backups whose name starts with that text. The default value is ''. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">datasourceName</td>
              <td>Data source through which the backup is accessible. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac281b7978044af859ef0c89b25f66fa8">verify\_backup\_backup\_id</a>: ID of the snapshot to verify. Set to '-1' to verify all snapshots in the backup. Leave empty to verify only the most recent snapshot. The default value is '-1'. </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="af5f5b0c2a7e2038b7155c5c0cd9df915" />

  <h2 className="memtitle"><span className="permalink"><a href="#af5f5b0c2a7e2038b7155c5c0cd9df915">◆ </a></span>verifyBackup() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">VerifyBackupResponse</a> gpudb::GPUdb::verifyBackup </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest">VerifyBackupRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Inspects the requested database <a href="/content/admin/backup_restore/#database-backup" target="_top">backup(s)</a> for conformity at the remote file store accessible via the <a href="/content/concepts/data_sources/" target="_top">data source</a> specified by <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest#a11a6275bcd3c4cb59398efd08ceaa24b">datasourceName</a>. </p>
      <p>By default all snapshots are inspected unless the option <a className="el" href="/content/api/cpp/namespacegpudb#ac281b7978044af859ef0c89b25f66fa8">backup\_id</a> is used to target a specific instance. Returns backup verification results.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a285a2814137c3c2bfb4b72f12f3821ca" />

  <h2 className="memtitle"><span className="permalink"><a href="#a285a2814137c3c2bfb4b72f12f3821ca">◆ </a></span>verifyBackup() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">VerifyBackupResponse</a> & gpudb::GPUdb::verifyBackup </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest">VerifyBackupRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">VerifyBackupResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Inspects the requested database <a href="/content/admin/backup_restore/#database-backup" target="_top">backup(s)</a> for conformity at the remote file store accessible via the <a href="/content/concepts/data_sources/" target="_top">data source</a> specified by <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest#a11a6275bcd3c4cb59398efd08ceaa24b">datasourceName</a>. </p>
      <p>By default all snapshots are inspected unless the option <a className="el" href="/content/api/cpp/namespacegpudb#ac281b7978044af859ef0c89b25f66fa8">backup\_id</a> is used to target a specific instance. Returns backup verification results.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
