--exclude=<files, folders and masks>
Files and folders to be excluded from the recovery. You can either specify files and folders explicitly or use certain criteria that are called file masks.
You can use one or more wildcard characters * and ? in a file mask:
To exclude a folder specified by a path containing the drive letter, add a backslash (\) to the folder name in the criterion; for example: "C:\Finance\".
Exclusion examples
Criterion |
Example |
Description |
Windows and Linux |
||
By name |
F.log F |
Excludes all files named "F.log" Excludes all folders named "F" |
By mask (*) |
*.log F* |
Excludes all files with the .log extension Excludes all files and folders with names starting with "F" (such as folders "F", "F1" and files "F.log", "F1.log") |
By mask (?) |
F???.log |
Excludes all .log files with names consisting of four symbols and starting with "F" |
Windows |
||
By file path |
C:\Finance\F.log |
Excludes the file named "F.log" located in the folder C:\Finance |
By folder path |
C:\Finance\F\ |
Excludes the folder C:\Finance\F (be sure to specify the full path starting from the disk letter) |
Linux |
||
By file path |
/home/user/Finance/F.log |
Excludes the file named "F.log" located in the directory /home/user/Finance |
By folder path |
/home/user/Finance/ |
Excludes the directory /home/user/Finance |
The above settings are not effective for the files or folders that were explicitly selected for recovery. For example, assume that you selected the folder my_folder and the file my_file.tmp outside that folder, and selected to skip all .tmp files. In this case, all .tmp files in the folder my_folder will be skipped during the backup process, but the file my_file.tmp will not be skipped.