Home Explore Blog CI



postgresql

3rd chunk of `doc/src/sgml/ref/pg_verifybackup.sgml`
66468d6251dafc5134d342e08ec95a7c942b7b6d6b25000f0000000100000e98
 <term><option>-e</option></term>
      <term><option>--exit-on-error</option></term>
      <listitem>
       <para>
        Exit as soon as a problem with the backup is detected. If this option
        is not specified, <literal>pg_verifybackup</literal> will continue
        checking the backup even after a problem has been detected, and will
        report all problems detected as errors.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term><option>-F <replaceable class="parameter">format</replaceable></option></term>
      <term><option>--format=<replaceable class="parameter">format</replaceable></option></term>
      <listitem>
       <para>
        Specifies the format of the backup. <replaceable>format</replaceable>
        can be one of the following:

        <variablelist>
         <varlistentry>
          <term><literal>p</literal></term>
          <term><literal>plain</literal></term>
          <listitem>
           <para>
            Backup consists of plain files with the same layout as the
            source server's data directory and tablespaces.
           </para>
          </listitem>
         </varlistentry>

         <varlistentry>
          <term><literal>t</literal></term>
          <term><literal>tar</literal></term>
          <listitem>
           <para>
            Backup consists of tar files, which  may be compressed.  A valid
            backup includes the main data directory in a file named
            <filename>base.tar</filename>, the WAL files in
            <filename>pg_wal.tar</filename>, and separate tar files for
            each tablespace, named after the tablespace's OID. If the backup
            is compressed, the relevant compression extension is added to the
            end of each file name.
           </para>
           </listitem>
         </varlistentry>
        </variablelist></para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term><option>-i <replaceable class="parameter">path</replaceable></option></term>
      <term><option>--ignore=<replaceable class="parameter">path</replaceable></option></term>
      <listitem>
       <para>
        Ignore the specified file or directory, which should be expressed
        as a relative path name, when comparing the list of data files
        actually present in the backup to those listed in the
        <literal>backup_manifest</literal> file.  If a directory is
        specified, this option affects the entire subtree rooted at that
        location. Complaints about extra files, missing files, file size
        differences, or checksum mismatches will be suppressed if the
        relative path name matches the specified path name. This option
        can be specified multiple times.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term><option>-m <replaceable class="parameter">path</replaceable></option></term>
      <term><option>--manifest-path=<replaceable class="parameter">path</replaceable></option></term>
      <listitem>
       <para>
        Use the manifest file at the specified path, rather than one located
        in the root of the backup directory.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term><option>-n</option></term>
      <term><option>--no-parse-wal</option></term>
      <listitem>
       <para>
        Don't attempt to parse write-ahead log data that will be needed
        to recover from this backup.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term><option>-P</option></term>
      <term><option>--progress</option></term>
      <listitem>
       <para>
        Enable progress reporting. Turning

Title: pg_verifybackup Options: Format, Ignoring Paths, Manifest Path, WAL Parsing, and Progress Reporting
Summary
This section details the various command-line options available for pg_verifybackup. These options include: -e/--exit-on-error (exit on the first detected error), -F/--format (specifies the backup format as either 'plain' or 'tar'), -i/--ignore (ignores a specified file or directory), -m/--manifest-path (specifies the path to the manifest file), -n/--no-parse-wal (disables write-ahead log parsing), and -P/--progress (enables progress reporting).