TECHNOLOGY

PostgreSQL’s incremental-backup fix requires a new full-backup baseline

In this article
THE QUICK TAKE

Updating alone leaves old WAL summaries untouched; PostgreSQL recommends a new full backup as the baseline for subsequent incremental backups.

PostgreSQL 18.7 fixes stale visibility-map bits in incremental backups after VACUUM truncates a heap when both data checksums and wal_log_hints are disabled. Crucially, the patch does not correct existing WAL summaries. Incremental backups taken after updating can therefore still be affected if they build on old history. The release recommends a new full backup after updating and using it as the basis for later incrementals.

The configuration conjunction matters

The notes specify heap truncation after VACUUM with both data checksums and wal_log_hints disabled. A proposed exposure review should record those settings and relevant backup history rather than assume every incremental chain has this exact defect. At the same time, the release’s migration guidance says existing incremental files should not be trusted and recommends a new full baseline. Keep the detailed trigger and the broader published upgrade action visible without inventing a narrower safety exemption.

A new artifact can depend on old unsafe history

The release explicitly warns that incrementals taken after installation can still be affected because old summaries are not repaired. Timestamp-based cleanup rules are therefore insufficient evidence of recovery. A qualification record should trace each tested incremental to its full baseline and applicable summary history. Merely rerunning the same backup command after a server restart would produce a new file without establishing that the inherited dependency chain has changed.

Create and qualify the replacement baseline

The recommended sequence is update, take a new full backup and use that backup for subsequent incrementals. A proposed verification restores a chain derived from this new baseline and checks controlled data after truncation-related activity. Preserve the baseline identity in backup metadata and retention planning. The release does not say that changing a label on an old full backup is equivalent; the new full artifact is the practical boundary that avoids relying on the old affected summaries.

Version compliance is not backup-chain recovery

An inventory showing every server on 18.7 establishes code rollout, not completion of the backup action. Operational reporting should separately track the new full backup, the switch of incremental dependencies and restore verification. The patch prevents the specified new summary defect but does not certify old artifacts. This distinction is the article’s core practical consequence: backup safety is a property of the qualified chain, not merely the binary version that created its newest member.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles