Server Administration

Incremental vs Differential vs Full Backup: Differences

By NileVPS Team · Published · 4 min read

اقرأ المقال بالعربي

Once you decide to back up a server, the next question is how. Copying everything every night is simple, but it quickly eats storage and bandwidth. Copying only what changed is efficient, but it makes restores more complex. Full, incremental and differential backups are three answers to that trade-off, and modern tools blend them in clever ways. This article explains each type in plain terms, compares them side by side, and shows how to set up efficient backups on a Linux VPS.

Full backups

A full backup copies every selected file and database every time it runs. Its strength is simplicity: one backup set contains everything you need, so a restore is a single step.

The drawbacks are size and time. If your site is 40 GB, every full backup is 40 GB (before compression), takes the longest to create, and puts the most load on disk and network. Keeping 30 daily full copies means storing 30 times your data.

Full backups remain essential as a baseline. Every incremental or differential chain starts from one.

Incremental backups

An incremental backup copies only what changed since the last backup of any type. Monday's full backup is followed by Tuesday's increment (changes since Monday), then Wednesday's increment (changes since Tuesday), and so on.

  • Pros: smallest and fastest backups, minimal storage, low server load.
  • Cons: a restore needs the full backup plus every increment in order. If one link in the chain is missing or corrupted, later increments may be unusable.

Differential backups

A differential backup copies everything that changed since the last full backup. Tuesday's differential contains Tuesday's changes; Wednesday's contains Tuesday's and Wednesday's, and it keeps growing until the next full backup.

  • Pros: restore needs only two pieces: the full backup and the latest differential.
  • Cons: each differential is larger than the one before it, so storage and run time increase through the week.

Side-by-side comparison

FullIncrementalDifferential
What is copiedEverythingChanges since last backupChanges since last full
Backup speedSlowestFastestMedium, grows over time
Storage useHighestLowestMedium
Restore stepsOne setFull + every incrementFull + latest differential
Chain riskNoneHigherLow

A classic schedule combines them: a full backup every Sunday, then incrementals or differentials on the other days. Your choice depends on whether you value smaller backups (incremental) or simpler restores (differential).

The modern approach: deduplicating snapshots

Tools such as restic and borg change the picture. They split data into chunks, store each unique chunk once, and record each run as a snapshot that references those chunks. Every snapshot behaves like a full backup when you restore it, yet only new chunks are uploaded and stored. You get the efficiency of incrementals without a fragile chain, plus built-in encryption and integrity checks.

Example with restic

# one-time: create an encrypted repository (sftp, S3-compatible and others are supported)
export RESTIC_REPOSITORY=sftp:backup@backup-host:/srv/restic/site
export RESTIC_PASSWORD_FILE=/root/.restic-pass
restic init

# each run: back up files and a fresh database dump
mysqldump --single-transaction mydb > /var/backups/mydb.sql
restic backup /var/www/mysite /etc/nginx /var/backups/mydb.sql

# apply retention and remove unreferenced data
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune

# verify repository integrity regularly
restic check

Restoring a single file or the whole site is one command, for example restic restore latest --target /tmp/restore. Borg offers a similar workflow with borg create, borg prune and borg check.

Incremental copies with rsync

If you only need a mirror plus history, rsync --link-dest creates dated folders where unchanged files are hard links to the previous copy. Each folder looks complete, but only changed files consume new space:

rsync -a --delete --link-dest=/backups/2026-11-21 /var/www/ /backups/2026-11-22/

Databases need special care

File-level increments of a live database directory are not safe. Dump the database first, or use database-native tools: binary logs for MySQL/MariaDB point-in-time recovery, or WAL archiving with pg_basebackup for PostgreSQL. Dumps compress and deduplicate reasonably well inside restic or borg.

Choosing a strategy

  • Small site, simple needs: nightly full backup, compressed, with a 7-day rotation.
  • Growing site or several sites: restic or borg with daily snapshots and a retention policy.
  • Busy database: dumps or native incremental methods every few hours, plus daily file snapshots.
  • Before upgrades: a provider snapshot for instant rollback.

Whatever you choose, follow the 3-2-1 principle described in our guide to website backups, and run restores on a test server so you know the chain works. If you need a separate machine to act as a backup target, a small storage-friendly plan from our pricing page works well.

FAQ

Is incremental backup riskier than full backup?

Classic incremental chains carry more risk because a restore depends on every piece being intact. Deduplicating tools reduce this by treating each snapshot independently and offering integrity checks such as restic check. Regular verification and test restores keep the risk low.

How often should I run a new full backup?

With traditional tools, weekly or monthly full backups keep chains short. With restic or borg you rarely need a separate full run, because every snapshot is restorable on its own. Instead, focus on retention, pruning and periodic integrity checks.

Do incremental backups reduce server load?

Yes. Only changed data is read in detail and transferred, so backup jobs finish faster and use less bandwidth. The first run is still a full copy, so schedule it during quiet hours, and keep later runs at low priority with nice and ionice.

Related guides