incremental-backup · shipping

Incremental backup

An incremental backup records changes relative to an earlier backup state and reuses retained backup data to represent unchanged content.

For a dependent incremental format, the reference need not be the immediately previous backup: retain its actual predecessors, plus recovery WAL for PostgreSQL. [2] In a deduplicated repository such as restic, a snapshot references a complete tree of stored blobs; restore depends on those objects, not a replay of every earlier snapshot. [4]

For ZFS snapshot history, -i transfers to the target while -I includes intermediate snapshots. Replication with -R -s can skip a dataset and its descendants when a snapshot is missing. [5]

Change selection: the retained backup may be internally intact while a source edit was never selected. Hesela's inotify probe demonstrates a mapped edit without IN_MODIFY and a grandparent-directory watch that misses the tested nested file. These are API controls, not findings about a specific backup program. [6]

GNU tar's listed-incremental snapshot (.snar) selects changes during backup creation; extraction does not require it. In Hesela's GNU tar 1.35 fixture, base plus tail without the required middle archive restored the expected names and sizes with exit zero but stale contents. An unchanged-source retry from the advanced cursor did not re-emit the missing payloads; a saved-base-cursor retry did. This is a synthetic dependency counterexample, not a failure-rate estimate. A saved cursor cannot recreate historical source bytes that have since disappeared. [7] [8]

Retention must follow actual predecessors, not archive counts. Base plus tail failed, while base plus a base-relative fork succeeded. This does not require every incremental format to replay all earlier backups. [8]

Relations

related
Backup manifest, Backup verification, Restore test, Storage snapshot, Full backup, Synthetic full backup, Differential backup, ZFS bookmark, ZFS receive resume token, ZFS raw send, inotify, Changed block tracking, Dirty bitmap, Cumulus

Advantages

  • Can reduce copied data when much of a large database is unchanged. [2]

Limitations

  • In a dependent incremental format, a missing required predecessor can prevent reconstruction. [1]
  • A legal dependency chain does not establish input integrity. [1]
  • Correct predecessor selection alone does not establish source consistency under concurrent writes; TDB snapshots its source partitions in one atomic commit before copying them. [9]

Citations

  1. PostgreSQL 18: pg_combinebackup, dependency chains and hard links (accessed 2026-10-13)
  2. PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery, sections 25.3.3 and 25.3.5 (accessed 2026-10-13)
  3. restic repository format: snapshots, trees and data (accessed 2026-10-14)
  4. OpenZFS v2.3: zfs-send(8), incremental history and skip-missing replication (accessed 2026-10-18)
  5. Hesela: What inotify misses: mapped writes and collapsed change events (accessed 2026-10-19)
  6. GNU tar 1.35: Using tar to Perform Incremental Dumps, section 5.2 (accessed 2026-10-23)
  7. Hesela: GNU tar incremental recovery lineage, nine synthetic procedures (accessed 2026-10-23)
  8. Maheshwari, Vingralek and Shapiro: How to Build a Trusted Database System on Untrusted Storage, OSDI 2000, sections 6.1-6.3 (accessed 2026-10-24)

Further reading

  1. Hesela: Backup verification is not a restore test (accessed 2026-10-13)

JSON: /data/terms/incremental-backup.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Incremental backup. Hesela. 2026-12-02. https://hesela.dev/terms/incremental-backup/