Lesson 1 of 2 Recovery Strategies

Backup Strategies

Backups are the foundation of recovery from failures, disasters and ransomware. This lesson covers backup types, where to store backups and how to keep them trustworthy.

Learning outcomes

After completing this lesson, you will be able to:

  • Compare full, incremental and differential backups.
  • Explain onsite, offsite, cloud and immutable backup storage.

Backup types

A full backup copies all selected data. An incremental backup copies only data changed since the last backup of any type, so backups are fast and small, but a restore needs the last full backup plus every incremental since. A differential backup copies data changed since the last full backup, so each differential grows during the week, but a restore needs only the full backup plus the latest differential.

Full
Backup time and sizeLongest, largest
Restore needsThe full backup only
Restore speedFastest
Incremental
Backup time and sizeShortest, smallest
Restore needsFull plus every incremental since
Restore speedSlowest
Differential
Backup time and sizeGrows until the next full
Restore needsFull plus the latest differential
Restore speedMiddle

Backup frequency is driven by the RPO: if no more than four hours of data may be lost, backups or replication must run at least every four hours. Snapshots, electronic vaulting (batch transfer of backups to a remote site) and remote journaling (continuous transfer of transaction logs) support shorter RPOs.

Choosing a schedule is a trade-off between backup window, storage and restore time.

Backups protect against more than hardware failure: accidental deletion, corruption, ransomware and malicious insiders. That is why retention matters as much as frequency. If ransomware silently corrupts files for three weeks before it is discovered, a backup system that keeps only seven days of history holds nothing but corrupted copies. Retention schemes such as daily backups kept for a month, weekly ones for a quarter and monthly ones for a year provide clean restore points well into the past.

The following diagram compares the restore needed with incremental and differential backups.

What a restore needs with incremental and differential backups. With a full backup on Sunday and incrementals on other nights, a failure on Thursday needs the full backup plus every incremental since, applied in order. With differentials, it needs only the full backup and the latest differential. Changes since the last backup are lost unless recovered from transaction logs.
The weekly schedule is an example.
Fill in the value

Counting restore sets

Exam skills 7.10.1

Work out how many backup sets each restore needs after a Thursday-night failure.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing a backup schedule

A file server holds 2 TB, and about 50 GB of it changes each day. How do full, incremental and differential schedules compare?

A nightly full backup copies 2 TB every night, which may not fit in the overnight window. A weekly full backup with nightly incrementals copies 2 TB once and then about 50 GB a night, but a Saturday restore needs the full backup and six incrementals, and a single damaged incremental breaks the chain. With differentials, Saturday's backup copies about 300 GB, the changes since Sunday, but a restore needs only two sets.

Many organisations use incrementals for efficiency and protect the chain by verifying every backup.

Backup storage strategies

Onsite backups allow fast restores but are lost in a site disaster. Offsite backups, such as tapes at a secure storage facility or copies at another data centre, survive site loss but take longer to retrieve. Cloud storage provides scalable offsite capacity and geographic redundancy. The 3-2-1 rule keeps at least three copies of data, on two different types of media, with one copy offsite.

Because ransomware groups target backups, at least one copy should be immutable (write-once storage that cannot be modified or deleted during its retention period) or offline (air-gapped), and backup systems should use separate credentials and MFA. Backups are encrypted, their keys protected separately, and restores tested regularly against the RTO.

Restore testing is the only way to know that backups work. Backup software can report success every night while copying an empty folder because a path changed, or while producing files that cannot be read because an encryption key was lost. A restore test selects systems, restores them to an isolated environment, checks that the application starts and the data is complete, and records how long it took. If the largest database takes 20 hours to restore and its RTO is eight hours, the organisation has learned that it needs a faster recovery method before a disaster forces the discovery.

Select all that apply

Ransomware-resilient backups

Exam skills 7.10.1

Identify backup practices that survive an attacker in control of production.

Log in to try this activity Interactive activities are free with an account.
Worked example

Restoring after a failure

A company takes a full backup every Sunday night and incremental backups every other night. The server fails on Thursday afternoon. Which backups are needed to restore it?

The restore needs Sunday's full backup plus the incremental backups from Monday, Tuesday and Wednesday nights, applied in order. Changes made on Thursday before the failure are lost unless they are recovered from another source such as transaction logs. If the company used differential backups instead, only Sunday's full backup and Wednesday's differential would be needed.

Check yourself

What does the 3-2-1 backup rule require?

Show answer

Three copies of data, on two different types of media, with one copy offsite.

Exam Tips

Remember for the exam

  • Incremental: fastest backup, slowest restore. Differential: the reverse.
  • RPO drives backup frequency.
  • Keep one copy immutable or offline; test restores.