Other Guides

Backup and DR

Differential Backup Explained and Compared to Incremental

In this article, we will overview differential backup and its specifics. This type of backup cannot be used for file-level or image-based backup. However, there is a popular scenario where you can meet and should use differential backup. Continue reading to learn more about this type of backup and the difference between incremental and differential backup.

What Is a Differential Backup?

A differential backup is a type of backup that uploads the new and updated files after the first full backup. It’s essential to remember that each consequent differential backup compares the dataset only with the initial full backup.

Differential backup

Differential backup: difference from the full backup diagram

Facts About Differential Backup

  1. It’s faster to perform a differential backup than to perform a full backup
  2. A differential backup will become larger than a full backup. Thus, you need to run another full from time to time.
  3. It’s easier and faster to recover files from a differential backup than from an incremental backup. The reason is the architecture of both solutions.
FREE WHITEPAPER
Full System Backup and Recovery
Check out our comprehensive guide covering system state, system image, and application-aware backup and recovery, as well as bare-metal recovery:
New call-to-action
WP icon

Incremental vs Differential Backup

Incremental and differential backup types both perform the backup of changed and modified files. However, there is a distinct difference between incremental and differential backup.

  • A differential backup grows over time as it consists of all changes since the initial full backup. Thus, differential backup is slower and takes more storage space than an incremental backup.
  • During a recovery, incremental backup software needs to process each increment change and the first full backup to restore data to the required state. This process is slower compared to recovery from a differential backup.
  • In an incremental backup, each next increment change relies on the previous one. This means if any of the changes are lost, the whole dataset is lost. To recover from the differential backup, you only need two “files” - the initial full backup and the latest differential backup.
  • Since incremental backups are typically smaller, they can run more often, and more data is preserved in the event of a disaster. Incremental backup allows better RPO in comparison to differential backup.

Nowadays, incremental backup has become the most common type used to back up various files and datasets. By default, most backup software developers implement an incremental backup. SQL Server differential backup is a typical use case of differential backup. For other datasets differential backup is not used and cannot be enabled in most backup software solutions. 

Differential Backup Use Case: Microsoft SQL Server

To understand how the differential backup works, we will review how it’s used in the backup of Microsoft SQL Server. Microsoft has developed a native backup structure in three layers for its SQL Server databases:

Full backup

Full backup

The backup of the whole database: This is the largest of the three backups. You don’t want to run it very often.

Differential backup

Differential backup

SQL Server differential backup contains all changes since the initial full backup. Microsoft SQL Server database is designed in such a way that it’s technically possible to backup only the changed parts of the dataset.

T-log backup

Transaction log backup

The SQL Server database creates a highly detailed map of the database - that’s transaction logs. If the database and differential backups are lost or unrecoverable, the transaction log backup chain is enough to recover the latest recorded state. Backup of the T-logs usually takes less time than a full or differential backup.

New call-to-action

All three backup types are complementary to each other in the SQL Server. You will be able to achieve lower downtime and lose less data while restoring from a chain of full-differential-transaction logs.
SQL Server backup chain
Further reading Microsoft SQL Server Backup and Restore

Conclusion

A differential backup is a highly specific backup technique and it is not used for the datasets outside of SQL Server databases. When considering other types of backup, like file-level or image-based backups, a differential backup is proven to be ineffective.

MSP360 Managed Backup.
Simple. Reliable.
Powerful cross-platform backup and disaster recovery that leverages the public cloud to enable a comprehensive data protection strategy.
New call-to-action
MBS CTA image