postgresql/src/bin
Robert Haas dc21234005 Add support for incremental backup.
To take an incremental backup, you use the new replication command
UPLOAD_MANIFEST to upload the manifest for the prior backup. This
prior backup could either be a full backup or another incremental
backup.  You then use BASE_BACKUP with the INCREMENTAL option to take
the backup.  pg_basebackup now has an --incremental=PATH_TO_MANIFEST
option to trigger this behavior.

An incremental backup is like a regular full backup except that
some relation files are replaced with files with names like
INCREMENTAL.${ORIGINAL_NAME}, and the backup_label file contains
additional lines identifying it as an incremental backup. The new
pg_combinebackup tool can be used to reconstruct a data directory
from a full backup and a series of incremental backups.

Patch by me.  Reviewed by Matthias van de Meent, Dilip Kumar, Jakub
Wartak, Peter Eisentraut, and Álvaro Herrera. Thanks especially to
Jakub for incredibly helpful and extensive testing.

Discussion: http://postgr.es/m/CA+TgmoYOYZfMCyOXFyC-P+-mdrZqm5pP2N7S-r0z3_402h9rsA@mail.gmail.com
2023-12-20 09:49:12 -05:00
..
initdb Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
pg_amcheck Remove distprep 2023-11-06 15:18:04 +01:00
pg_archivecleanup Remove distprep 2023-11-06 15:18:04 +01:00
pg_basebackup Add support for incremental backup. 2023-12-20 09:49:12 -05:00
pg_checksums Remove some unnecessary includes of "access/xlog_internal.h" 2023-12-10 07:46:06 +01:00
pg_combinebackup Add support for incremental backup. 2023-12-20 09:49:12 -05:00
pg_config Remove distprep 2023-11-06 15:18:04 +01:00
pg_controldata Remove distprep 2023-11-06 15:18:04 +01:00
pg_ctl Remove distprep 2023-11-06 15:18:04 +01:00
pg_dump Fix spelling and punctuation 2023-11-30 10:56:53 +01:00
pg_resetwal Add support for incremental backup. 2023-12-20 09:49:12 -05:00
pg_rewind Remove some unnecessary includes of "access/xlog_internal.h" 2023-12-10 07:46:06 +01:00
pg_test_fsync Suppress -Wunused-result warning about write(). 2023-12-06 17:16:57 -06:00
pg_test_timing Remove distprep 2023-11-06 15:18:04 +01:00
pg_upgrade Fix path of regress shared library in pg_upgrade test 2023-12-08 10:36:23 +09:00
pg_verifybackup Move src/bin/pg_verifybackup/parse_manifest.c into src/common. 2023-12-19 15:24:31 -05:00
pg_waldump Remove distprep 2023-11-06 15:18:04 +01:00
pgbench Don't use pgbench -j in tests 2023-12-04 14:00:51 +01:00
pgevent Remove MSVC scripts 2023-12-20 09:44:37 +09:00
psql psql: Add tab completion for view options. 2023-11-28 09:50:17 +00:00
scripts Remove distprep 2023-11-06 15:18:04 +01:00
Makefile Add support for incremental backup. 2023-12-20 09:49:12 -05:00
meson.build Add support for incremental backup. 2023-12-20 09:49:12 -05:00