Archive:Exclude with File Patterns 3.4
|THE CONTENT OF THIS PAGE IS OUTDATED|
|SEP AG has discontinued support for obsolete SEP sesam versions. Instructions are still available for these SEP sesam products, however, SEP AG accepts no responsibility or liability for any errors or inaccuracies in the instructions or for the incorrect operation of obsolete SEP sesam software. It is strongly recommended that you update your SEP sesam software to the latest version. For the latest version of SEP sesam documentation, see documentation home.|
Exclude with File Patterns
In case of Windows backup tasks the default task's exclude_type is set to 'pattern' (file pattern).
The special characters used in File Patterns matching are:
|?||matches any single character|
|[seq]||matches any character in seq|
|[!seq]||matches any character not in seq|
- The file pattern match is done according to FNMATCH(3) Linux Programmer's Manual with flags FNM_FILE_NAME | FNM_LEADING_DIR | FNM_CASEFOLD | FNM_PERIOD | FNM_NOESCAPE.
- An exclude with File Patterns for NetWare File System backup only allows the use of joker '*' (some characters) and '?' (one arbitrary character).
Examples for exclude list with file patterns:
- Backing up '/var' without '/var/tmp' but with directory '/var/tmp1':
- Backing up '/var' without any directory '*/tmp*':
- Backing up source '/usr' avoiding '*.o', '*.tmp', 'a.out' and 'old*.c' files and all 'old*' directories:
*.o, *.tmp, a.out, old*.c, /old*
- Backing up '/usr' without '/usr/var/spool' and '/usr/var/log':
- Avoid all 'syslog####.log' files:
- Backing up NetWare NSS Volume 'VOL1:' without 'VOL1:tmp':
If you want to exclude a specific path then put entire path in the exclude list. Several excludes require a separation by commas.