PostgreSQL 18 Introduces Incremental Backup Support via pg_basebackup
PostgreSQL 18 adds native incremental backup capability through the pg_basebackup utility, requiring WAL summarization to be enabled via the summarize_wal parameter in postgresql.conf. A full base backup is first created using pg_basebackup, which generates a backup_manifest file that serves as a reference point for subsequent incremental backups. Any database changes made after the full backup — such as new tables or inserted data — are captured exclusively in the incremental backup. The pg_combinebackup tool is then used to merge the full and incremental backups before restoring the database. This workflow significantly reduces storage and time costs compared to taking repeated full backups.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in