Loading...

Adding Exceptions to Backup Filters for the Windows File System Agent

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

  1. From the CommCell Browser, expand Client Computers > client > File System > backup_set.
  2. Right-click the appropriate subclient  and click Properties.
  3. In the Subclient Properties dialog box, specify the basic settings for the subclient:
    1. In the Subclient name box, type the name of the subclient.
    2. On the Content tab, add the content to be backed up.
    3. Click the Filters tab.
    4. On the Filters tab, under Except for these files/folders/patterns, click Browse.
    5. Click the file, folder, or directory that you want to include in the backups and then click Add.
    6. Alternatively, click Add and enter the paths of the directories or files which you want to backup.

      Notes:

      • You can use wildcards to 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.

    7. Click OK.
    8. On the Storage Device tab, in the Storage Policy list, click a storage policy name to associate with the subclient.
    9. Tip: To create a new storage policy, click Create Storage Policy and follow the instructions in the storage policy creation wizard.
  4. 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.