As with so many things, the answer is: it depends.
Different backup programs work in different ways, particularly when it comes to encrypted disks.
And even then, what actually happens may not reflect what probably should happen.
Become a Patron of Ask Leo! and go ad-free!
As the name implies, whole disk encryption (of the type performed by Bitlocker and other software) encrypts everything on your hard disk. More correctly, it encrypts everything in a partition.
Traditionally, when we think about encryption, we’re worried about our files. There are many different approaches to encrypting individual files or groups of files. Whole-disk encryption bypasses all this by ignoring files completely, and encrypting everything at the next level down, where the data is actually written to disk.
What’s important to realize is that whole-disk encryption encrypts more than files; it encrypts information about the files, including the file system information that allows the operating system to locate where files are on the disk.
Since the operating system needs that information in order to work, disks encrypted this way are “mounted” – using the encryption password or key – which allows the unencrypted contents of the disk to be accessed normally. Without the encryption password or key, you can’t access the drive’s contents, period. If that’s your system drive, you can’t even boot Windows until the correct password or key is supplied.
This leads to an interesting dilemma when it comes to backing up.
Backing up an encrypted disk
There are two ways to “see” a hard disk:
- Mounted: a password or key has been supplied, and the contents of the disk are accessible.
- Not mounted: the contents of the disk are just a collection of sectors, each containing encrypted data. Without the decryption key, they appear to be random data.
That leads to two ways, conceptually, to back it up:
- Content-aware: this means the backup program can see all files on the disk, and can back up using that information. This is how most backup programs (including image backups) work: they locate and back up only the actual files that are currently stored on a hard disk.
- Sector-by-sector: when a backup program is unable to understand the contents of a disk, it has no way to locate individual files or folders, and no way to understand what’s on the disk. The only thing it can back up is each physical sector on that disk, because it might contain data.
If your system drive is encrypted, there are two general scenarios for backing up:
- Inside Windows: If you install a backup program in Windows, and run that program from within Windows, it works because you’ve mounted the system drive and supplied the password. The system drive is completely accessible, not only to Windows itself, but all the programs you run in Windows, presumably including your backup program. It should be able to perform a content-aware backup just as if the system drive were not encrypted.
- Outside Windows: If you instead boot from a backup program’s recovery disk in order to perform a backup (an option in many backup programs), then you’ll not have mounted your Windows system disk, and its contents will not be accessible to the backup program. The only option the backup program has is to back up sector-by-sector.
Unfortunately, things aren’t quite so simple.
Backup program confusion
Note my use of the words “presumably” and “should” when describing how a backup program works in Windows. For reasons unknown, not all work that way. Some fail to backup an encrypted drive or partition, even though the partition is mounted and accessible in Windows itself.
In fact, I’ve had reports of failures I can’t reproduce. For example, backing up a BitLocker-encrypted system drive in Windows 10 using EaseUS Todo works for my laptop without any change to the normal process of backing up. Others have reported that it fails, and explicitly points to BitLocker when doing so.
Some backup programs state you must decrypt the drive (remove BitLocker, for example) in order to back it up, at which point you can re-encrypt it. Not only does that take significantly more time, it can’t be automated, and, quite honestly, doesn’t make much sense to me.
As we’ll see in a moment, I think it’s important that you be able to back up from within Windows.
Is the backup encrypted?
A sector-by-sector backup is, by definition, encrypted using whatever whole-disk encryption technology is being used. I say “by definition” because the very reason a backup program might resort to a sector-by-sector backup is because it can’t understand the encrypted data.
Backups taken from within Windows while the disk is mounted and accessible are typically not encrypted. The fact that the disk is mounted and accessible means that the backup program neither knows nor cares that encryption was used at all. It simply does what it does, which is to backup what it sees: the unencrypted original contents of the hard disk.
If it’s important to you that such a backup be encrypted, you need to take additional steps. That means either of two things:
- Choose a password or encryption option within the backup program itself, assuming it has one.
- Encrypt the resulting backup file(s) yourself, using some kind of encryption tool; for example, you might create a password-protected zip file containing the backup after it’s completed, or place the backup in a VeraCrypt-encrypted volume.
Whole disk encryption is a fine thing1, and I use BitLocker on my Windows laptop, as well as Apple’s equivalent on my Macs.
I recommend that you:
- Back up using a program that allows “content-aware” backups. In other words, if you install it and run it within Windows with your encrypted disk mounted and accessible, and it complains, that’s not the program I’d use. It should just work.
- Remember that this backup will, itself, not be encrypted.
- Save the backup securely somehow. That could mean encrypting it, as described above. It could also mean that you’ve structured your backups to be secure some other way – perhaps backing up your laptop over a network at home to a device you trust is sufficiently secure for your needs. (This is what I do.)
But above all, do back up.
If you found this article helpful you'll love Confident Computing! My weekly email newsletter is full of articles that help you solve problems, stay safe, and increase your confidence with technology.
Subscribe now, and I'll see you there soon,