{
  "slug": "incremental-backup",
  "term": "Incremental backup",
  "aliases": [],
  "definition": "An incremental backup records changes relative to an earlier backup state and reuses retained backup data to represent unchanged content.",
  "note": "For a dependent incremental format, the reference need not be the immediately previous backup: retain its actual predecessors, plus recovery WAL for PostgreSQL. [archive] 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. [restic-format]\n\nFor 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. [zfs-send]\n\nChange 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. [hesela-inotify]\n\nGNU 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. [tar-incremental-manual] [hesela-tar-lineage]\n\nRetention 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. [hesela-tar-lineage]",
  "status": "shipping",
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "advantages": [
    {
      "text": "Can reduce copied data when much of a large database is unchanged.",
      "citationIds": [
        "archive"
      ]
    }
  ],
  "limitations": [
    {
      "text": "In a dependent incremental format, a missing required predecessor can prevent reconstruction.",
      "citationIds": [
        "combine"
      ]
    },
    {
      "text": "A legal dependency chain does not establish input integrity.",
      "citationIds": [
        "combine"
      ]
    },
    {
      "text": "Correct predecessor selection alone does not establish source consistency under concurrent writes; TDB snapshots its source partitions in one atomic commit before copying them.",
      "citationIds": [
        "tdb-backup-lineage"
      ]
    }
  ],
  "related": [
    "backup-manifest",
    "backup-verification",
    "restore-test",
    "snapshot",
    "full-backup",
    "synthetic-full-backup",
    "differential-backup",
    "zfs-bookmark",
    "zfs-receive-resume-token",
    "zfs-raw-send",
    "inotify",
    "changed-block-tracking",
    "dirty-bitmap",
    "cumulus"
  ],
  "citations": [
    {
      "id": "combine",
      "title": "PostgreSQL 18: pg_combinebackup, dependency chains and hard links",
      "url": "https://www.postgresql.org/docs/18/app-pgcombinebackup.html",
      "accessed": "2026-10-13"
    },
    {
      "id": "archive",
      "title": "PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery, sections 25.3.3 and 25.3.5",
      "url": "https://www.postgresql.org/docs/18/continuous-archiving.html",
      "accessed": "2026-10-13"
    },
    {
      "id": "hesela-backup-evidence",
      "title": "Hesela: Backup verification is not a restore test",
      "url": "https://hesela.com/analyses/backup-verification-is-not-a-restore-test/",
      "accessed": "2026-10-13"
    },
    {
      "id": "restic-format",
      "title": "restic repository format: snapshots, trees and data",
      "url": "https://restic.readthedocs.io/en/stable/100_references.html",
      "accessed": "2026-10-14"
    },
    {
      "id": "zfs-send",
      "title": "OpenZFS v2.3: zfs-send(8), incremental history and skip-missing replication",
      "url": "https://openzfs.github.io/openzfs-docs/man/v2.3/8/zfs-send.8.html",
      "accessed": "2026-10-18"
    },
    {
      "id": "hesela-inotify",
      "title": "Hesela: What inotify misses: mapped writes and collapsed change events",
      "url": "https://hesela.com/analyses/inotify-change-detection/",
      "accessed": "2026-10-19"
    },
    {
      "id": "tar-incremental-manual",
      "title": "GNU tar 1.35: Using tar to Perform Incremental Dumps, section 5.2",
      "url": "https://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-tar-lineage",
      "title": "Hesela: GNU tar incremental recovery lineage, nine synthetic procedures",
      "url": "https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-incremental-lineage",
      "accessed": "2026-10-23"
    },
    {
      "id": "tdb-backup-lineage",
      "title": "Maheshwari, Vingralek and Shapiro: How to Build a Trusted Database System on Untrusted Storage, OSDI 2000, sections 6.1-6.3",
      "url": "https://www.usenix.org/legacy/events/osdi2000/full_papers/maheshwari/maheshwari_html/",
      "accessed": "2026-10-24"
    }
  ]
}
