PostgreSQL 17 Incremental Backups: Smaller Transfers, Same Restore Discipline
PostgreSQL 17 added incremental filesystem backups to pg_basebackup, together with WAL summarization and the pg_combinebackup utility. For large clusters with relatively small daily change, incremental backups can reduce repeated transfer and storage work. They also create a chain of artifacts that must be managed as one recovery system.
An incremental backup is useful only if you can restore it. Preserve the base backup and every incremental part required to reach the desired point, retain the WAL needed for recovery, and protect the backup manifest. Store backup metadata with the files so an operator can identify the chain and its timeline during an incident.
Build a restore test early. Combine the chain with pg_combinebackup, validate the output, and bring it up in an isolated environment. Confirm database consistency and the application-level records that matter. Then measure the restore time, not just the backup time. A backup that saves bandwidth but cannot meet the recovery-time objective is the wrong optimization.
Automate checks for missing files, checksum failures, expired WAL summaries, and incomplete jobs. Keep a full base backup cadence that limits chain length and simplifies recovery. Incremental designs can reduce backup cost, but a compromised account that can delete the whole chain can still defeat them; keep an independent retention boundary.
PostgreSQL 17’s release notes describe pg_basebackup —incremental, WAL summaries, and pg_combinebackup. Consult the continuous archiving and point-in-time recovery guide when designing the complete restore path.