Certain files and file types can be globally excluded from a backup without having to modify the file selection by unchecking each individual file/folder. These exclusions can be added either by file type or by using regular expressions (regex). This tutorial explains how to configure your backup using both file type and regular expression exclusions.
Example: Set A and Set B back up to an external hard drive destination. Set A has an exclusion indicating that files ending in .mp3 shouldn't back up. Even though the exclusion isn't specified for Set B, MP3s from this set will not back up to the external hard drive.
Since many of the files below can be easily re-downloaded or installed, you can exclude them all together. This may decrease the initial upload duration.
A regular expression (regex) is a string of text used as a search pattern to match filenames containing a specific sequence of characters. Leverage the power of regular expressions to fine-tune and allow for more complex backup file exclusion rules.
In simple terms, this expression means:
Specific components of the expression are defined as follows:
Any pattern beginning with (?i) indicates a case-insensitive search, so the example above will match files that end with .mp3 and .MP3 (as well as .Mp3 and .mP3).
This expression means any directory path that contains a folder with a name that begins with TEMP. For example, the following would be excluded by this expression:
In the above examples, note that other directories in the \Windows and \Windows\security folders that do not begin with TEMP would still be included. However, all subdirectories, or folders within the excluded folders, would be excluded as well.
Note that CrashPlan treats all file separators as forward slashes (/).
There are many fantastic regex resources on the Internet. Here are a few of our favorites:
If you need help with your regular expressions, you might also try asking for help from other users in our User Forums.