pg_verifybackup: Verify tar-format backups.
authorRobert Haas <rhaas@postgresql.org>
Fri, 27 Sep 2024 12:40:24 +0000 (08:40 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 27 Sep 2024 12:40:24 +0000 (08:40 -0400)
commit8dfd3129027969fdd2d9d294220c867d2efd84aa
tree9b5866e22d0105d2fb62cde9599be0b281831469
parent8410f738ad2fd94fc068ce0189e1ae04ef3c12e3
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.
14 files changed:
doc/src/sgml/ref/pg_verifybackup.sgml
src/bin/pg_verifybackup/Makefile
src/bin/pg_verifybackup/astreamer_verify.c [new file with mode: 0644]
src/bin/pg_verifybackup/meson.build
src/bin/pg_verifybackup/pg_verifybackup.c
src/bin/pg_verifybackup/pg_verifybackup.h
src/bin/pg_verifybackup/t/002_algorithm.pl
src/bin/pg_verifybackup/t/003_corruption.pl
src/bin/pg_verifybackup/t/004_options.pl
src/bin/pg_verifybackup/t/008_untar.pl
src/bin/pg_verifybackup/t/010_client_untar.pl
src/fe_utils/simple_list.c
src/include/fe_utils/simple_list.h
src/tools/pgindent/typedefs.list