Air Gap Backup: How an Offline Copy Stops Ransomware


An air gap backup is a copy that is physically disconnected from the computer and the network when it is not being written. The gap can be a USB drive in a drawer, a tape on a shelf, or a cloud bucket that no account on your network can delete. Its purpose is simple: if ransomware takes over the machine, it must not be able to reach the copy that will restore it.

Most people already have a backup. The problem is that it is usually a folder on a NAS, an always-connected external drive, or a cloud account that the infected machine is signed in to. All three are reachable, and modern ransomware deliberately searches for them.

What an Air Gap Backup Is

The defining property is not the media, it is the absence of a live connection. A backup drive that stays plugged in is convenient, but it is not air gapped: the same file system, the same credentials and often the same drive letter are available to any process running on the PC.

An air gap can be physical, as with a removable disk that is connected only during the backup window, or logical, as with immutable cloud storage that enforces retention and rejects delete requests for a fixed period. Physical gaps are simpler and free; logical gaps protect against local disasters as well as theft.

Why Connected Backups Fail

Ransomware runs with the permissions of the logged-in user. If that user can open the backup drive, so can the malware. Encryption routines enumerate mapped drives, removable media and network shares, and the backup is often the first target because it removes the victim's way out.

Network-attached storage is especially exposed: a mapped share with stored credentials is just another folder. Cloud sync is no better if the client stays signed in, because deletions and encrypted versions propagate to the cloud within minutes.

The lesson is not to abandon these convenient targets. It is to keep at least one copy that cannot be touched while the computer is running.

How to Build the Gap

The widely used rule is 3-2-1: three copies, on two kinds of media, with one off-site. A stronger version adds a fourth digit for the offline copy and a zero for verified restores: 3-2-1-1-0.

A Workable Rotation Plan

A simple scheme that works for a home office or a small team:

CopyWhere it livesHow often
AInternal or directly attached driveDaily, automatic
BNAS on the local networkDaily or weekly
CRemovable drive, stored off-siteWeekly, rotated between two drives
DImmutable cloud archiveMonthly

Rotate C and the spare drive so that one is always disconnected. If the connected drive is encrypted during an attack, the disconnected one still holds a clean copy from the previous week.

What to Test and How Often

An untested backup is a guess. Once a quarter, restore a sample of files to a spare location and open them. Twice a year, restore an entire system image to a spare disk and boot from it. Check three things:

  1. The image can be opened by the recovery environment without errors.
  2. The restored system starts and the applications work.
  3. The data is recent enough to be worth restoring, which tells you whether the schedule is right.

Record the date of the last successful test. A backup that has never been restored is not yet a backup.

Mistakes That Break the Gap

Qiling Disk Master can create a full system or disk image on the removable drive, and you can schedule the job to run only during the window when that drive is connected.

Step 1. Connect the rotation drive, launch Qiling Disk Master, open the Backup and Recovery tab and click System backup.

open System backup in Qiling Disk Master

Step 2. Confirm the source disks and click the folder icon to set the destination.

select the source and set the backup destination

Step 3. Choose a folder on the removable drive, not a network share, and click OK.

choose the removable drive as the backup destination

Step 4. Click Proceed to create the image, then shut the computer down or eject the drive and store it away from the machine.

system backup running in Qiling Disk Master

Is a cloud backup an air gap?

Only if the storage enforces immutability and the local machine cannot delete recent versions. A normal synced folder is not a gap, because the client can delete the cloud copy too.

How often should the offline copy be updated?

Match the acceptable data loss. Weekly is common for personal data; daily rotation is better for a business that cannot afford to lose a week of work.

Does an air gap replace antivirus?

No. It limits the damage after an infection. Prevention, patching and least-privilege accounts still matter.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it