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

# gpudb::VerifyBackupRequest

> gpudb::VerifyBackupRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#af5f5b0c2a7e2038b7155c5c0cd9df915">GPUdb::verifyBackup</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/verify__backup_8h_source">gpudb/protocol/verify\_backup.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:af34116267240c022aa7f135d16e7103a" id="r_af34116267240c022aa7f135d16e7103a">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#af34116267240c022aa7f135d16e7103a">VerifyBackupRequest</a> ()</td>
      </tr>

      <tr className="memdesc:af34116267240c022aa7f135d16e7103a">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest" title="A set of parameters for GPUdb::verifyBackup.">VerifyBackupRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:af34116267240c022aa7f135d16e7103a">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a5abf8ff2ffde0f0169db5f184ec7ec8e" id="r_a5abf8ff2ffde0f0169db5f184ec7ec8e">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a5abf8ff2ffde0f0169db5f184ec7ec8e">VerifyBackupRequest</a> (const std::string \&backupName\_, const std::string \&datasourceName\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a5abf8ff2ffde0f0169db5f184ec7ec8e">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest" title="A set of parameters for GPUdb::verifyBackup.">VerifyBackupRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a5abf8ff2ffde0f0169db5f184ec7ec8e">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a1858a9c413e58c29dd5ed403da35fee8" id="r_a1858a9c413e58c29dd5ed403da35fee8">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1858a9c413e58c29dd5ed403da35fee8">backupName</a></td>
      </tr>

      <tr className="memdesc:a1858a9c413e58c29dd5ed403da35fee8">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the backup. <br /></td>
      </tr>

      <tr className="separator:a1858a9c413e58c29dd5ed403da35fee8">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a11a6275bcd3c4cb59398efd08ceaa24b" id="r_a11a6275bcd3c4cb59398efd08ceaa24b">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a11a6275bcd3c4cb59398efd08ceaa24b">datasourceName</a></td>
      </tr>

      <tr className="memdesc:a11a6275bcd3c4cb59398efd08ceaa24b">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Data source through which the backup is accessible. <br /></td>
      </tr>

      <tr className="separator:a11a6275bcd3c4cb59398efd08ceaa24b">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a345bfdb44c3bc14ed0bb8e541fd9ae10" id="r_a345bfdb44c3bc14ed0bb8e541fd9ae10">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a345bfdb44c3bc14ed0bb8e541fd9ae10">options</a></td>
      </tr>

      <tr className="memdesc:a345bfdb44c3bc14ed0bb8e541fd9ae10">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a345bfdb44c3bc14ed0bb8e541fd9ae10">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#af5f5b0c2a7e2038b7155c5c0cd9df915">GPUdb::verifyBackup</a>. </p>
      <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="#a11a6275bcd3c4cb59398efd08ceaa24b">datasourceName</a>. 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>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/verify__backup_8h_source#l00026">26</a> of file <a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#af34116267240c022aa7f135d16e7103a">◆ </a></span>VerifyBackupRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::VerifyBackupRequest::VerifyBackupRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest" title="A set of parameters for GPUdb::verifyBackup.">VerifyBackupRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/verify__backup_8h_source#l00031">31</a> of file <a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::VerifyBackupRequest::VerifyBackupRequest </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>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1VerifyBackupRequest" title="A set of parameters for GPUdb::verifyBackup.">VerifyBackupRequest</a> object with the specified parameters. </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>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/verify__backup_8h_source#l00061">61</a> of file <a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a1858a9c413e58c29dd5ed403da35fee8">◆ </a></span>backupName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::VerifyBackupRequest::backupName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the backup. </p>
        <p>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 ''. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/verify__backup_8h_source#l00073">73</a> of file <a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a11a6275bcd3c4cb59398efd08ceaa24b">◆ </a></span>datasourceName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::VerifyBackupRequest::datasourceName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Data source through which the backup is accessible. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/verify__backup_8h_source#l00078">78</a> of file <a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a345bfdb44c3bc14ed0bb8e541fd9ae10">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::VerifyBackupRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

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

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/verify__backup_8h_source#l00091">91</a> of file <a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/verify__backup_8h_source">verify\_backup.h</a></li>
    </ul>
  </div>
</div>
