New features:
- Incremental restore. Now it is possible to reuse valid unchanged pages available in destination data directory, when running restore. Using incremental restore greatly increases the speed, reduces the network load and I/O consumption.
- New option for
restore
command:-I | --incremental-mode mode
. Two incremental restore modes are available:checksum
andlsn
.
- New option for
Improvements:
- The memory consumption during
backup
andmerge
operations is reduced. - The speed of restore for incremental backup chains is greatly improved, in some extreme cases of particularly long chains - by an order of magnitude.
- Remote backup speed is improved thanks to moving the whole process of scanning the remote data directory tree to the remote agent. On systems with high network latency and large amount of files the speed gain can be significant.
Bugfixes:
archive-push
andarchive-get
output to PostgreSQL text log no longer breakspgbadger
parsing. Reported by @triwada and Mikhail Kulagin.- Previously running backup right after replica promotion resulted in error, because timeline ID was obtained before pg_start_backup execution.