pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_verifybackup: Verify tar-format backups.
Date: Fri, 27 Sep 2024 13:25:38 +0000
Message-ID: <E1suAyY-001A5b-0n@gemulon.postgresql.org> (raw)

pg_verifybackup: Verify tar-format backups.

This also works for compressed tar-format backups. However, -n must be
used, because we use pg_waldump to verify WAL, and it doesn't yet know
how to verify WAL that is stored inside of a tarfile.

Amul Sul, reviewed by Sravan Kumar and by me, and revised by me.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8dfd3129027969fdd2d9d294220c867d2efd84aa

Modified Files
--------------
doc/src/sgml/ref/pg_verifybackup.sgml         |  47 ++-
src/bin/pg_verifybackup/Makefile              |   2 +
src/bin/pg_verifybackup/astreamer_verify.c    | 428 +++++++++++++++++++++++++
src/bin/pg_verifybackup/meson.build           |   1 +
src/bin/pg_verifybackup/pg_verifybackup.c     | 433 +++++++++++++++++++++++---
src/bin/pg_verifybackup/pg_verifybackup.h     |   7 +
src/bin/pg_verifybackup/t/002_algorithm.pl    |  34 +-
src/bin/pg_verifybackup/t/003_corruption.pl   |  77 ++++-
src/bin/pg_verifybackup/t/004_options.pl      |  17 +
src/bin/pg_verifybackup/t/008_untar.pl        |  71 ++---
src/bin/pg_verifybackup/t/010_client_untar.pl |  48 +--
src/fe_utils/simple_list.c                    |  19 ++
src/include/fe_utils/simple_list.h            |   1 +
src/tools/pgindent/typedefs.list              |   2 +
14 files changed, 1033 insertions(+), 154 deletions(-)



Message-ID: <E1suAyY-001A5b-0n@gemulon.postgresql.org>
Permalink:  ../E1suAyY-001A5b-0n@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1suAyY-001A5b-0n@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_verifybackup: Verify tar-format backups.
  In-Reply-To: <E1suAyY-001A5b-0n@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox