OS drive image-level backup software with exclusion of files and folders
Some people say that by definition disk/drive image-level backup software can’t exclude files and directories.
Example of such software that only does raw block level image backup would be Linux dd.
Linux dd reads and writes raw blocks or bytes sequentially from start to finish. Linux dd cannot tell whether a block holds active data, deleted data, or empty space, therefore Linux dd backups everything.
However, there are image-based backup software that are filesystem-aware, e.g. Clonezilla (rescuezilla). Clonezilla performs filesystem-aware imaging by inspecting supported filesystems to identify which blocks contain actual data and skips unused blocks when backing up.
Some image-based backup software go further with exclusions.
Macrium excludes the data blocks in the pagefile (pagefile.sys) and hibernation file (hiberfil.sys) by default when backing up OS drive.
pagefile.sys and hiberfil.sys file entries still appear in the file system structure, but their contents are omitted and take up zero space in the image.
Terabyte Image excludes page file, hibernation file and $UsnJrnl Data by default.
EaseUS Todo Backup takes it further. After selecting system drive to backup, EaseUS Todo Backup has the following default exclusions: $RecycleBin; pbd; tmp; X:\Windows\Temp; X:\Users\Default\AppData\Local\Microsoft\Windows\InetCache; X:\Windows.old
EaseUS Todo Backup allows to exclude any custom folder user wants using the syntax above.
Hasleo Backup Suite allows to exclude any folder user wants when backing up OS drive in system backup mode.
Paragon Hard Disk Manager allows to exclude any folder or file when backing up OS drive.
If backup volume as raw option is selected, then exclusions aren’t allowed (understandably).
Acronis True Image allow to exclude whatever files and directories user wants.
I quote Acronis True Image help file:
“For example, to exclude all files with .gif and .bmp extensions, you may type .gif;.bmp.
If, for example, you want to exclude all files with the name of test regardless of their extension, you should specify exclusion criteria such as test.*
You can also specify the path to a folder to be excluded, for example, C:\Program Files\Common Files\. Note that the path must end with the "\" symbol, otherwise the folder will not be excluded.”
I’ve read some comments saying that Acronis True Image is able to exclude custom files and directories, because Acronis True Image DOESN’T DO IMAGE-LEVEL BACKUP, instead it DOES FILE LEVEL BACKUP.
To make it clear, I’m referring to Acronis True Image Disk and Partition Backup option, with OS drive being selected and what to exclude section allowing to exclude custom files and folders.
From examples above, Clonezilla, Macrium, Terabyte Image, Acronis, Paragon Hard Disk Manager, EaseUS Todo Backup, Hasleo Backup Suite – all these programs claim to perform disk image based backup. However, all these programs seem to be filesystem aware and do actions at filesystem level as well.
1] So what is this?
- Is this still a true image-based / image-level backup?
- A hybrid image level - file level backup?
- File level backup masquerading as image-level based backup?
- File level backup that is simply stored in an image container format. Using the same container format that can also be used for true image-level backups?
2] If you exclude non system folder (e.g. personal not important documents folder, music folder, just as an example) while doing OS drive image backup with Acronis True Image, does it make your backup less reliable, more fragile that you’re going to be less likely/unable to restore your OS from?
3] I’ve just checked Acronis True Image 2014 helpfile (13 years old helpfile). Option to exclude custom folders for OS drive image backups was already there 13 years ago.
Paragon Hard Disk Manager, EaseUS Todo Backup, Hasleo Backup Suite also have an option to exclude files and folders in system drive image backup. I’m not sure when these programs acquired such functionality.
The fact that other image-level disk image backup software (Clonezilla, Macrium, Terabyte Image, Disk2vhd by Microsoft sysinternals, R-drive image, Drive Snapshot) don’t offer an option to exclude custom folders for OS drive image backups makes me somewhat suspicious of this folder exclusion option offered by Acronis True Image, Paragon Hard Disk Manager, EaseUS Todo Backup and Hasleo Backup Suite.
Why other image-level disk image backup software don’t offer an option to exclude custom folders?
TLDR:
Image-level backup software progression:
- backup all raw blocks sequentially from start to finish (Linux dd)
- backup only blocks containing actual data and skip unused blocks (Clonezilla)
- backup as above, but also exclude pagefile.sys and hiberfil.sys (Macrium, Terabyte Image)
- backup as above, but also allow to exclude any file or folder (Acronis True Image, Paragon Hard Disk Manager, EaseUS Todo Backup, Hasleo Backup Suite).
Questions:
1] Can image-level OS drive backup software reliably and safely exclude custom files and folders?
2] How does Acronis True Image, Paragon Hard Disk Manager, EaseUS Todo Backup, Hasleo Backup Suite claim to perform OS disk image backup while also allowing to exclude whatever files and folders user wants?
3] Is it because Acronis True Image, Paragon Hard Disk Manager, EaseUS Todo Backup, Hasleo Backup Suite aren’t performing image-level backup, but using filesystem-level / file-level backup and storing the backup in image-based container? But if it’s file-level backup, then how are these programs able to restore OS from such file-level backup?
4] When custom folders and files are excluded, how does image based backup software deal with mismatches at NTFS filesystem MFT?
Are entries of excluded folders and files also removed from NTFS MFT, so that there are no conflict after restoring the backup image?
Because if you backup stock NTFS filesystem MFT, but then exclude some files and folders, NTFS filesystem MFT will still have entries of those excluded files and folders? There would be filesystem integrity problems after restore?