BUG #18800: Error while using pg_combinebackup

Started by PG Bug reporting formabout 1 year ago1 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 18800
Logged by: James Inform
Email address: james.inform@pharmapp.de
PostgreSQL version: 17.2
Operating system: Linux Debian
Description:

I use pg_combinebackup with --dry-run to check an incremental backup. So far
everything went fine for weeks but know I get the following error message:

/opt/pg/bin/pg_combinebackup --dry-run -o /exchange/recover
./20250117_235000_full ./20250208_001500_incremental

pg_combinebackup: error: file
"./20250208_001500_incremental/base/4043490/INCREMENTAL.4048177" has
truncation block length 243767 in excess of segment size 131072
pg_combinebackup: removing contents of output directory
"/exchange/recover"

What can I do to narrow the issue down or get around this error?

I use multiple PostgreSQL installations and I only encounter this of one
installation.
Can a somehow corrupt storage be the reason?

Cheers,
James