postgresql/src/bin/pg_verifybackup
Michael Paquier d07c2948bf Add support for progress reporting to pg_verifybackup
This adds a new option to pg_verifybackup called -P/--progress, showing
every second some information about the progress of the checksum
verification based on the data of a backup manifest.

Similarly to what is done for pg_rewind and pg_basebackup, the
information printed in the progress report consists of the current
amount of data computed and the total amount of data that will be
computed.  Note that files found with an incorrect size do not have
their checksum verified, hence their size is not appended to the total
amount of data estimated during the first scan of the manifest data
(such incorrect sizes could be overly high, for one, falsifying the
progress report).

Author: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoC5+JOgMd4o3z_oxw0f8JDSsCYY7zSbhe-O9x7f33rw_A@mail.gmail.com
2023-02-06 14:40:31 +09:00
..
po Update copyright for 2023 2023-01-02 15:00:37 -05:00
t Add support for progress reporting to pg_verifybackup 2023-02-06 14:40:31 +09:00
.gitignore Rename pg_validatebackup to pg_verifybackup. 2020-04-12 11:26:05 -04:00
Makefile Add support for zstd base backup compression. 2022-03-08 09:52:43 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls.mk Revert "Use wildcards instead of manually-maintained file lists in */nls.mk." 2022-07-13 14:29:10 -04:00
parse_manifest.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
parse_manifest.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_verifybackup.c Add support for progress reporting to pg_verifybackup 2023-02-06 14:40:31 +09:00