Incremental backup

Short description: Backup containing only changes since the last backup

An incremental backup is one in which successive copies of the data contain only the portion that has changed since the preceding backup copy was made.[1][2][3][4] When a full recovery is needed, the restoration process would need the last full backup plus all the incremental backups until the point of restoration.[5] Incremental backups are often desirable as they reduce storage space usage, and are quicker to perform than differential backups.[6]

## Contents

* 1 Variants
* 1.1 Incremental
* 1.2 Multilevel incremental
* 1.3 Reverse incremental
* 1.4 Incremental forever
* 1.5 Block-level incremental
* 1.6 Byte-level incremental
* 2 Other backup types
* 2.1 Synthetic full backup
* 2.2 Differential
* 2.3 Forward incremental-forever
* 3 See also
* 4 References
* 4.1 Further reading

## Variants

### Incremental

The most basic form of incremental backup consists of identifying, recording and thus, preserving only those files that have changed since the last backup. Since changes are typically low, incremental backups are much smaller and quicker than full backups. For instance, following a full backup on Friday, a Monday backup will contain only those files that changed since Friday. A Tuesday backup contains only those files that changed since Monday, and so on. A full restoration of data will naturally be slower, since all increments must be restored. Should any one of the copies created fail, including the first (full), restoration will be incomplete.[7]

A Unix example would be:

rsync -e ssh -va --link-dest=$dst/hourly.0 $remoteserver:$remotepath $dst/hourly.1

The use of rsync's \--link-dest option is what makes this command an example of incremental backup.[8]

### Multilevel incremental

A more sophisticated incremental backup scheme involves multiple numbered backup levels. A full backup is level 0. A level n backup will back up everything that has changed since the most recent level n-1 backup. Suppose for instance that a level 0 backup was taken on a Sunday. A level 1 backup taken on Monday would include only changes made since Sunday. A level 2 backup taken on Tuesday would include only changes made since Monday. A level 3 backup taken on Wednesday would include only changes made since Tuesday. If a level 2 backup was taken on Thursday, it would include all changes made since Monday because Monday was the most recent level n-1 backup.

### Reverse incremental

An incremental backup of the changes made between two instances of a mirror can be forward or reverse.

If the oldest version of the mirror is treated as the base and the newest version as the revised version, the incremental produced is a forward incremental.

If the newest version of the mirror is treated as the base and the oldest version as the revised / changed version, the incremental produced is a reverse incremental.

In making backups using reverse incremental backups, each time a reverse incremental backup is taken, it is applied (in reverse) to the previous full (synthetic) backup, thus the current full (synthetic) backup is always a backup of the most recent state of the system. This is in contrast to forward incremental backups where the current full backup is a backup of the oldest version of the system, and to get a backup of the most recent state of the system, all of the forward incremental backups have to be applied to that oldest version successively.

By applying a reverse incremental to a mirror, the result will be a previous version of the mirror. This gives a means to revert to any previous version of the mirror.

In other words, after the initial full backup, each successive incremental backup applies the changes to the previous full, creating a new synthetic full backup every time, while maintaining the ability to revert to previous versions.

The main advantage of this type of backup is a more efficient recovery process, since the most recent version of the data (which is the most frequently restored version) is a (synthetic) full backup, and no incrementals need to be applied to it during its restoration. Reverse incremental backup works for both tapes and disks, but in practice tends to work better with disks.

Companies using the reverse incremental backup method include Intronis and Zetta.net.

### Incremental forever

In modern cloud architectures, or disk to disk backup scenarios, this is much simpler. Data is broken into chunks and placed on a cloud storage system. Metadata about the chunks is stored in a persistent system, which allows the system to assemble a point in time backup from these chunks at restore time. There is no need to refactor tape.

### Block-level incremental

This method backs up only the blocks within the file that changed. This requires a higher level of integration between the sender and receiver.

### Byte-level incremental

These backup technologies are similar to the "block-level incremental" backup method; however, the byte (or binary) incremental backup method is based on a binary variation of the files compared to the previous backup: while the block-based technologies work with heavy changing units (blocks of 8K, 4K or 1K), the byte-based technologies work with the minimum unit, saving space when reflecting a change on a file.[9] Another important difference is that they work independently on the file system. At the moment, these are the technologies that achieve the highest relative compression of the data, turning into a great advantage for the security copies carried out through the Internet.

## Other backup types

### Synthetic full backup

A synthetic backup is an alternative method of creating full backups. Instead of reading and backing up data directly from the disk, it will synthesize the data from the previous full backup (either a regular full backup for the first backup, or the previous synthetic full backup) and the periodic incremental backups. As only the incremental backups read data from the disk, these are the only files that need to be transferred during offsite replication. This greatly reduces the bandwidth needed for offsite replication. Synthetic backup does not always work with the same efficiency. The rate of data uploaded from the target machine to data, synchronized on the storage, varies depending on the disk fragmentation.[10]

### Differential

A differential backup is a cumulative backup of all changes made since the last full or normal backup, i.e., the differences since the last full backup. The advantage to this is the quicker recovery time, requiring only a full backup and the last differential backup to restore the system. The disadvantage is that for each day elapsed since the last full backup, more data needs to be backed up, especially if a significant proportion of the data has changed.

### Forward incremental-forever

A forward incremental-forever backup[11] allows the synthetic operation to create a new full backup, which is limited to the size of the incremental file, instead of the complete size of a full backup file as it would happen in a “forward mode with synthetic fulls”. The overall consumed I/O is the same as the reversed incremental, but during the duration of the backup activity only 1 write I/O is used and the snapshot of the VM is opened for less time than the reversed incremental; the remaining 2 I/O are used to update the full backup file.

## See also

* Backup rotation scheme
* Continuous data protection
* Delta encoding
* Dump (Unix) \- UNIX utility for multilevel incremental file system backups.
* Incremental computing
* rsync \- File synchronization algorithm and protocol.

## References

1. ↑ "Back up and restore with Windows Backup - Microsoft Support". https://support.microsoft.com/en-us/windows/back-up-and-restore-with-windows-backup-87a81f8a-78fa-456e-b521-ac0560e32338.
2. ↑ "MySQL :: MySQL Enterprise Backup 8.4 User's Guide :: 4.3.3 Making a Differential or Incremental Backup". https://dev.mysql.com/doc/mysql-enterprise-backup/8.4/en/mysqlbackup.incremental.html.
3. ↑ "Home - Support Portal - Broadcom support portal - Support Portal - Broadcom support portal" (in en-US). https://support.broadcom.com/web/ecx.
4. ↑ "CA Technologies Support". http://support.ca.com/cadocs/0/CA.
5. ↑ SQL Server differential backups. Carlos Rojas. EMC Community Network. EMC Corporation. 2 March 2011. Retrieved 21 August 2012.
6. ↑ NetApp SnapMirror Block Level Incremental Backup to Tape with NetVault Backup. Charles Keiper, Senior Product Manager. Quest Software. 1 August 2012. Retrieved 21 August 2012.
7. ↑ Zacker, Craig (2006). Network+ Certification, Fourth Edition. Redmond, WA: Microsoft Press. pp. 455.
8. ↑ "rsync(1) – Linux man page". https://linux.die.net/man/1/rsync.
9. ↑ "What is an incremental backup?" (in en). https://www.ionos.co.uk/digitalguide/server/know-how/incremental-backup/.
10. ↑ Gugick, David. "Synthetic Full Backup Explained". CloudBerry Lab. https://www.cloudberrylab.com/resources/guides/backup-types/synthetic-full/.
11. ↑ "New Forward Incremental-Forever Backup". 13 October 2014. https://www.virtualtothecore.com/en/new-backup-mode-veeam-backup-replication-v8/.

### Further reading

* "Protecting File Systems: A Survey of Backup Techniques".
* "Differential and Incremental backups: Why should you care?". NovaStor. https://www.novabackup.com/blog/differential-incremental-backup.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Incremental backup. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Incremental_backup&oldid=4417186"