Selective inclusion and exclusion

Overview

With selective backups, you can define custom inclusions and exclusions for folder paths or volumes you choose, so that all of your selected data, and only your selected data, is backed up.

For example, you can specify Windows paths and files to include or exclude. However, be aware that using selective backups affects your ability to perform a bare metal restore.

IMPORTANT  DO NOT attempt a bare metal restore if critical Windows components were excluded. For example: C:\Windows, C:\Program Files, or C:\Program Files (x86).

IMPORTANT  By default, Microsoft automatically excludes certain files, such as .OST files, from being captured in Volume Shadow Copy Service (VSS) snapshots. For more information, see Why are temp and .ost files excluded from backups?

Wildcards

You can use the following wildcards to define your backup policy:

? - A simple, non-recursive wildcard that represents exactly one character.

* - A simple, non-recursive wildcard that represents zero or more characters.

** - A recursive wildcard that can substitute entire path segments.
It cannot be combined with other symbols (e.g., C:\Logs\**.log will function like a simple *).

Volumes

Since Windows uses drive letters for volumes, inclusions and exclusions can be applied to a specific volume or all volumes:

  • If you use an inclusion and/or exclusion with a drive letter (e.g., C:\), the selection will apply only to that specific volume.

  • If you use an inclusion and/or exclusion with a wildcard (e.g., *\), it will apply to all volumes.

Precedence

When applying rules to selective backups, exclusions take precedence over inclusions.

If neither inclusion nor exclusion is set, all supported volumes will be backed up.

If an exclusion is set, the specified path will be excluded from the backup, regardless of any inclusion rules.

If an inclusion is set with no exclusions, the specified inclusion will be the only one backed up.

Examples