You can add exceptions to backup filters. The files or folders added to the exception list are included in the next backup job.
For example, if you exclude a folder from a backup, but you want to back up a particular file in that folder, you can add the file as an exception to the filter.
Procedure
-
From the CommCell Browser, expand Client Computers > client > File System > backup_set.
-
Right-click the appropriate subclient and click Properties.
-
In the Subclient Properties dialog box, specify the basic settings for the subclient:
-
In the Subclient name box, type the name of the subclient.
-
On the Content tab, add the content to be backed up.
-
Click the Filters tab.
-
On the Filters tab, under Except for these files/folders/patterns, click Browse.
-
Click the file, folder, or directory that you want to include in the backups and then click Add.
-
Alternatively, click Add and enter the paths of the directories or files which you want to backup.
Notes:
-
You can use wildcards to define exceptions to filters. The wildcards available for defining content of a subclient can be used for defining exceptions to filters.
For information on using wildcards, see Wildcards for Windows File System.
-
You can exclude files and folders from a UNC path. Make sure that the UNC path starts with \\<Computer Name>\<Share>\ .
For example: \\mycomputer.testlab.com\C\*.doc will exclude all the .doc files from the C: drive of mycomputer in the testlab domain.
-
-
Click OK.
-
On the Storage Device tab, in the Storage Policy list, click a storage policy name to associate with the subclient.
-
Tip: To create a new storage policy, click Create Storage Policy and follow the instructions in the storage policy creation wizard.
-
-
Click OK.
Result
When you run a backup job, the file or folder added under Except for these files/folders/patterns is backed up.
Example
All the files within the C:\User folder are backed up. On the Filters tab, under Exclude these files/folders/patterns, you add the asterisk (*) wildcard character. The asterisk (*)wildcard character excludes all folders, subfolders, and files within the User folder. When a backup runs, no files are backed up.
You now add the following under Except for these files/folders/patterns:
-
[!~]*.7z
-
[!~]*.7-zip
When a backup runs, all files within the User folder that start with tilde (~) and have .7z and .7-zip extensions are not included in the backup job.
However, all files that have .7z and .7-zip extensions and do not begin with tilde (~) are included in the backup.