Re: pg_verifybackup fails

From: Amul Sul <sulamul(at)gmail(dot)com>
To: "Subramanian,Ramachandran" <ramachandran(dot)subramanian(at)alte-leipziger(dot)de>
Cc: "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_verifybackup fails
Date: 2026-02-16 11:19:24
Message-ID: CAAJ_b97+Q99HKK2C+Bx0ESe_KXa+0hp2-KnBg4zLN+6VQT5MFw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Feb 16, 2026 at 4:40 PM Subramanian,Ramachandran
<ramachandran(dot)subramanian(at)alte-leipziger(dot)de> wrote:
>
> Hello,
>
>
>
> we are running postgres V16 on Linux and when I try to run pg_verifybackup I get the following error.
>
>
>
> Does it mean that we have an incomplete installation ?
>
>
>
> I would be grateful for any pointers on how to resolve this issue.
>
>
>
> LG
>
>
> Ram
>
>
>
> [postgres]$ pg_verifybackup /var/lib/pgsql/base_backup_dir/XXX/2026-02-16T11-52-27
>
> pg_verifybackup: error: program "pg_waldump" is needed by pg_verifybackup but was not found in the same directory as "/usr/bin/pg_verifybackup"
>
>
>
> [postgres]$ type pg_verifybackup
>
> pg_verifybackup is hashed (/bin/pg_verifybackup)
>
> [postgres]$ type pg_waldump
>
> -bash: type: pg_waldump: not found
>

Yes, pg_waldump is missing, which suggests an incomplete installation.
For the time being, you can bypass this error by using the
--no-parse-wal option in pg_verifybackup to skip WAL verification, but
it’s better to install pg_waldump for the complete verification.

Regards,
Amul

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Subramanian,Ramachandran 2026-02-18 08:01:12 Please correct me - PIT - Redirected recovery
Previous Message Subramanian,Ramachandran 2026-02-16 11:10:11 pg_verifybackup fails