How to exclude files, folders and drives from backup
Exclude data from your backups
With effect from version 8.1 onwards, the IBM TSM (Tivoli Storage Manager) backup / archive product has been rebranded as IBM Spectrum Protect. This is a rebranding exercise by IBM and, unless indicated specifically, there is no difference in the operation of the two brands. Version 7 of the (old) TSM client is still available for installation on older operating systems and you will see references to both IBM Spectrum Protect and TSM throughout these pages.
The HFS TSM package comes with a set of default exclusions coded in the TSM configuration file, see files and folders excluded from backup. While these default exclusions should not generally be modified or removed, they can be added to.
Warning: TSM exclude rules cannot be used as a temporary means of excluding data from backup. If you add an exclude rule for files or folders, then those files or folders are immediately marked for deletion on the HFS. If you at any time wish to back up those files or folders, you would need to resend all that you have previously excluded. The data cannot be unexcluded or reintegrated into your backup without a fresh resend. Please use this facility only to permanently exclude data from backup.
To provide you with the best advice, please select the type of exclude rule that you need from the following list:
- Exclude one or more specific files, or a range of similar files.
- Exclude one or more folders.
- Exclude one or more drives or partitions.
- Exclude everything except certain files or folders.
- If you are experienced with TSM exclude rules and want to see basic examples of the different options available.
Please note that if you use automatic scheduled backups, after making any configuration changes you must restart either your machine or the TSM scheduler for the changes to be honoured on the scheduled backups (see restarting the scheduler for Windows, Mac, Linux or Solaris),