Incremental backup
Block-level incremental backup with the WAL summarizer and pg_combinebackup.
Versions
- PostgreSQL 20 · worked-on · improved · minor
- PostgreSQL 19 · worked-on · improved · minor
- PostgreSQL 18 · shipped · improved · moderate · 2 commits · +296 / -4 lines
- PostgreSQL 17 · shipped · new · major · 31 commits · +11.8k / -721 lines
Threads
- Why clearing the VM doesn't require registering vm buffer in wal record
- [PATCH] Share WAL summary filtering logic
- PostgreSQL 18.6/17.11: standby PANIC on restart after VM truncation
- Re: BUG #19776: pg_combinebackup ignores the truncation_block_length of an intermediate incremental backup
- Assertion failure in WAL summarizer
- Re: WAL summarizer after promotion at a recovery target (v4, CF entry 7592)
- BUG #19865: WAL summary reader wraps block numbers for oversized chunk counts
- [PATCH] doc: Fix pg_combinebackup's description of --sync-method
- Add a hint to the "WAL summaries are required" errors
- [PATCH] Fix use-after-free after failed pg_checksum_init
- BUG #19775: Incremental backup without data checksums restores a stale visibility map page after VACUUM truncati
- Incremental backup accepts a prior backup that extends past a timeline switch
- BUG #19774: Incremental backup loses re-extended blocks when WAL summaries are merged out of LSN order
- Incremental backup can use a summary past a timeline switch
- Incremental backup keeps VM bits cleared by VACUUM truncation
- BUG #19776: pg_combinebackup ignores the truncation_block_length of an intermediate incremental backup
- Incremental backups report progress as if they were full backups
- [PATCH] pg_combinebackup: make the OID range check in parse_oid() effective
- [PATCH] pg_walsummary: suppress limit output with --quiet
- pg_verifybackup / pg_combinebackup: missing readdir() error check in directory scan
- walsummarizer can get stuck when switching timelines
- Incremental backup inconsistency after vacuum truncation + COPY regrowth
- incremental backup issue
- blkreftable.c needs more sanity checks
- Fix handling of copy_file_range() return value
- pg_combinebackup: incorrect size of VM fork after combine
- DOCS - pg_walsummary typo?
- DOCS - pg_walsummary filename
- pg_resetwal: Fix wrong directory in log output
- [PATCH] Fix error message in RemoveWalSummaryIfOlderThan to indicate file removal failure
- Incorrect errno used in OpenWalSummaryFile()
- [BUG] pg_basebackup produces wrong incremental files after relation truncation in segmented tables
- Incorrect version number given to sync_pgdata() in pg_combinebackup.c
- BUG #19065: postgresql-18.0/src/bin/pg_combinebackup/reconstruct.c:230: Array sanity check in wrong place ?
- Use LW_SHARED in WakeupWalSummarizer() for WALSummarizerLock lock
- incremental backup
- pg_combinebackup: correct code comment.
- Add -k/--link option to pg_combinebackup
- Docs for pg_basebackup needs v17 note for incremental backup
- BUG #18800: Error while using pg_combinebackup
- pg_combinebackup PITR comparison test fix
- Clarify old WAL files cannot be removed until they are summarized
- pg_combinebackup --incremental
- small pg_combinebackup improvements
- trying again to get incremental backup
- Typo spotted in GetFileBackupMethod comment(?)
- Function for listing pg_wal/summaries directory
- pg_walsummary, Character-not-present-in-option
- Modify comment in /postgres/src/bin/pg_walsummary/nls.mk
- pg_combinebackup --clone doesn't work
- Instability with incremental backup tests (pg_combinebackup, 003_timeline.pl)
- pg_combinebackup does not detect missing files
- Assertion failure with summarize_wal enabled during pg_createsubscriber
- Incremental backup from a streaming replication standby
- dikkop failed the pg_combinebackupCheck/006_db_file_copy.pl test
- Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal
- pg_wal_summary_contents() and pg_walsummary may return different results on the same WAL summary file
- Apparent bug in WAL summarizer process (hung state)
- Doc: fix a description regarding WAL summarizer on glossary page
- Potential stack overflow in incremental base backup
- some additional (small) problems with pg_combinebackup and tablespaces
- Add notes to pg_combinebackup docs
- fix tablespace handling in pg_combinebackup
- pg_combinebackup fails on file named INCREMENTAL.*
- type in basebackup_incremental.c ?
- NLS doesn't work for pg_combinebackup
- pg_upgrade --copy-file-range
- incremental backup breakage in BlockRefTableEntryGetBlocks
- cleanup patches for incremental backup
- incremental backup mishandles XLOG_DBASE_CREATE_FILE_COPY
- Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES
- pgsql: Clean pg_walsummary's tmp_check directory.
- buildfarm failures in pg_walsummary checks
- pgsql: Add new pg_walsummary tool.
- Wrong datatype in docs for wal_summary_keep_time
- A typo in a messsage?
- pg_basebackup has an accidentaly separated help message
- Fix copy and paste error (src/bin/pg_basebackup/pg_basebackup.c)
- Fix resource leak (src/bin/pg_combinebackup/pg_combinebackup.c)
- Should "CRC" be in uppercase?
- No LINGUAS file yet for pg_combinebackup
- Erroneous -Werror=missing-braces on old GCC
- pgsql: Move src/bin/pg_verifybackup/parse_manifest.c into src/common.
- New WAL record to detect the checkpoint redo location
- block-level incremental backup
- finding changed blocks using WAL scanning
- Tracking of page changes for backup purposes. PTRACK [POC]
- On markers of changed data
- Hooks to track changed pages for backup purposes
- Adding hook in BufferSync for backup purposes