Article ID: 54380
Article Type: Troubleshooting
Last Modified:
If the subclient content consists of files or folders that are specified within square brackets, then the files are not backed up.
When you specify square brackets as a literal character in the subclient content, the files or folders are not identified during the file scan phase and the files are not backed up.
The files or folder names within square brackets are not specified using the correct syntax.
Square Brackets Used as Wildcard Characters
Numbers within square brackets are treated as single digits, and a dash between two digits indicates the complete range of numbers between those two digits.
For example:
To back up files test 10 to test 39, enter test[1-3][0-9]. If you entered [10-39], the system will back up test1, test0, test3, and test9.
Square Brackets Used as Literal Characters
If you want to treat [] as literal characters and not as wildcards, then you must use the special syntax. The special syntax is useful when you want to include a file that has brackets ( [] ) in the file name. The special syntax allows you to define an escape character. Each character that immediately follows the escape character is treated literally and not as a wildcard character.
For example, if you want to back up a file with the name report[finance].doc on the C: drive. To avoid treating the square brackets as wildcard characters, you must define the escape character. In the following example, the "e=" syntax is used to define the escape character as the apostrophe (‘). The square brackets must be treated as literals and must be preceded by apostrophes. The content entry in the subclient should look like this:
C:\report'[finance'].doc
Any character can be used as the escape character, as long as it is defined after the “e=” in the syntax and it precedes any character that is to be treated as a literal.
Escape Characters Used as a Literal Character
You can use the escape character itself as a literal. To do this, you must prefix it with another escape character.
For example: