7.2 Backup types
The backup type determines how much a run reads from the machine being backed up and what it compares the result with. PDC-Backup has four types: Incremental, Differential, Full, and Synthetic full. This page explains the types, how they are implemented in the restic format, and the related options in the job editor.
The four types
Type | Short name in lists | Reads from the machine | Compared with | Typical use |
|---|---|---|---|---|
Incremental (default) | inc | only what changed since the last backup | the newest snapshot of the job | every normal run, fastest |
Differential | diff | everything that changed since the last full backup | the newest full or synthetic full snapshot of the job | intermediate states that refer only to the last full |
Full | full | the whole source again | nothing | Full every run, or once a week or month |
Synthetic full | synth | nothing: the server builds a new complete state from the newest backup | not applicable | regular full without load on the machine |
The Restore list (see chapter 09 Restore) labels each snapshot with its type.
How the types are implemented in the restic format
A repository in the restic format knows only snapshots. Every snapshot points to a complete directory tree whose contents are stored content-addressed and deduplicated in data blocks (packs). This has consequences for all types:
Every snapshot can be restored completely on its own. There is no chain of backups that must be assembled for a restore. Deleting a snapshot does not damage any other.
A full backup stores only data that is not yet in the repository. The difference from an incremental run is the amount the agent reads, not the amount stored.
The type is stored as a label in the snapshot and displayed by PDC-Backup. It does not change the fact that the snapshot is complete.
Technically, the types differ in the parent snapshot the agent uses for comparison while reading. Files that are unchanged compared with the parent snapshot are not read again; their blocks are reused.
Type | Parent snapshot during backup | Label |
|---|---|---|
Incremental | the newest matching snapshot (same paths and tags) |
|
Differential | the newest snapshot of the job labeled |
|
Full | none, the whole source is read |
|
Synthetic full | no agent run, see below |
|
The server fixes the type when it queues the run. Before a differential run starts, it looks up the newest registered full snapshot of the job as the base.
Two fallbacks are built in and appear in the run log:
If there is no full backup yet, a Differential run reads everything and is labeled
full.If the requested base cannot be used (it is missing or does not match the paths and tags of the backup), everything is read as well and the snapshot is labeled
full.
Synthetic full
A synthetic full is a run executed by the server without contacting the machine:
The server takes the newest registered snapshot of the job in the same repository as the source. If there is none, the run fails with a message that there is no backup yet to build from.
It checks that the directory trees and data of this snapshot are complete in the repository (index and pack files, without reading the data itself). If the check finds errors, no snapshot is written. Findings that are not errors appear as warnings, and the run then ends with status warning.
It writes a new snapshot that points to the same contents, labeled
synthetic_full, with the source as its parent and the source's timestamp plus one second. The new snapshot therefore represents the state of that moment. The statistics show no new data and no duration.
A synthetic full burdens neither the machine nor the network. Later differential runs compare against it as if it were a real full backup.
Because it builds on an existing backup, the type Synthetic full cannot be chosen as the type of normal runs. It serves as an additional regular full or as the type of a rule (section 7.3 Schedule rules).
Which workloads know the types
The four types exist for these workloads:
Workload | Backup types |
|---|---|
Files and folders ( | yes |
Disk image ( | yes |
Hyper-V ( | yes |
Databases, Docker, Proxmox, and all others | no: every run is the normal backup. In rules and plans only Incremental is possible for these workloads |
SQL Server | its own types in the job (Full, Differential, Log), see chapter 06 Jobs |
Older agents without support for backup types run every type as an incremental run; the run log points this out.
Options in the job editor
For files, image, and Hyper-V jobs the job editor shows a Backup type section. It sets which type normal runs have and whether a full backup is added on a regular basis.
Option | Effect | Default |
|---|---|---|
Backup type of normal runs: Incremental | Normal runs read what changed since the last backup | selected |
Backup type of normal runs: Differential | Normal runs read everything that changed since the last full backup | โ |
Backup type of normal runs: Full every run | Every run reads the whole source again | โ |
Periodic full backup: No extra full | There is no additional full run | selected |
Periodic full backup: Plus an active full | On the chosen days the run reads everything (type Full) instead of the normal type | โ |
Periodic full backup: Plus a synthetic full | On the chosen days the run first does the normal backup; afterwards the server builds a synthetic full from it | โ |
on (weekdays) | Weekdays of the additional full, several can be selected | Sun |
monthly, day | A day of the month instead of weekdays, 1 to 31 (31 stands for the last day of shorter months) | 1 |
The fields on and monthly, day appear only once an additional full is chosen. With neither a weekday nor a day, the server rejects the setting.
If the schedule is set to Rules, Periodic full backup is hidden. Scheduled runs then take the type of their rule, and the type under Backup type of normal runs applies only to Run now (see section 7.3 Schedule rules).
How the type of a run is determined
When the server creates a backup run, it decides in this order:
If a type was explicitly requested, it applies. This is the case for Run asโฆ in the job details and for runs that come from rules.
Otherwise the server checks whether a periodic full is due today (for catch-up runs: on one of the missed days) and whether no snapshot of that kind has been created yet that day. The additional full therefore runs at most once per day. An active full turns the run into Full; a synthetic one lets the normal backup run and appends the synthetic full run afterwards.
Otherwise the type of normal runs applies.
When a missed synthetic full is caught up, the server first makes a normal backup and then builds the synthetic state, because the machine has not been read since the outage.
In rules, Full takes precedence over Synthetic full, which takes precedence over Differential, which takes precedence over Incremental. This also applies when a waiting run takes over a stronger type (see section 7.5 Power, Wake-on-LAN and catch-up).
Which type fits when
Incremental is enough for almost all jobs. Since every snapshot is complete, a restore needs no full backup as a starting point.
Differential is worthwhile when intermediate states should refer only to the last full backup. The longer ago the last full was, the more a differential run reads.
Full reads the source completely again. As an additional full on a fixed day, it ensures that everything is read from the machine at regular intervals.
Synthetic full delivers the complete state without load on the machine. Useful for machines that are reachable only rarely or only at night.
Example: normal runs Incremental, plus Plus a synthetic full on Sunday. From Monday to Saturday the agent reads only changes; on Sunday the backup is followed by a synthetic full.