Synthetic full backup
A complete backup for one recovery point that is assembled from retained full and incremental backups instead of a new full read of production data.
Synthesis reuses backup data that already exists. In PostgreSQL 18, pg_combinebackup takes the full backup and each dependent incremental backup on the command line from oldest to newest and writes the reconstructed backup to the directory given with -o. A backup manifest is written for the output, with CRC32C file checksums by default. [1]
The tool does not track dependencies between backups, so removing an earlier backup in a chain leaves later incremental backups unrestorable. The --clone mode shares blocks with the inputs and works on Linux 4.5 or later with Btrfs and with XFS created with reflink support, while the default mode copies files. [1]
A documented hypervisor backup workflow first takes a regular incremental backup from production storage, builds the synthetic full on the repository from backup files already in the chain, and then deletes that temporary incremental. It creates at most one synthetic full per scheduled day, so the job still reads recent changes from production. [2]
Relations
- related
- Full backup, Incremental backup, Backup manifest, Backup verification, Restore test, Differential backup
Advantages
- The repository performs the assembly, so production storage supplies only the latest changes rather than a second full read. [2]
Limitations
- A combined output inherits any undetected corruption in its inputs, because combination does not verify input integrity. [1]
- PostgreSQL --no-sync does not wait for output files to be safely written to disk; a subsequent operating-system crash can leave the combined backup corrupt. [1]
- A checksum-state change can leave invalid page checksums when an input backup had checksums disabled but the last input backup had them enabled, because pg_combinebackup does not recompute page checksums. [1]
- Linux copy-on-write keeps writes private to each cloned file, but shared blocks are not independent media copies. [4, 1]
Citations
- PostgreSQL 18: pg_combinebackup, dependency chains and hard links
- Veeam Backup & Replication: How Synthetic Full Backup Works (Hyper-V)
- Linux man-pages: FICLONE, shared storage and copy-on-write isolation
Further reading
Sources & caveats
- combine is the PostgreSQL 18 pg_combinebackup reference, read for argument order, output, manifest checksums, copy modes and dependency handling.
- veeam-synthesis is a vendor user guide, read only for the generic order of steps in a synthetic full job.
- The vendor workflow is described impersonally and is not a statement about other backup software.