Controlling compression processing

This topic lists some items to consider if you want to exclude specific files or groups of files from compression processing during a backup or archive operation.

  • Remember that the backup-archive client compares the files it processes against the patterns specified in the include-exclude statements, reading from the bottom to the top of the options file.
  • Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThe client processes exclude.fs, exclude.dir, and other include-exclude statements first. The client then considers any exclude.compression statements. For example, consider the following include-exclude list:
    exclude /home/jones/proj1/*.*
    exclude.compression /home/jones/proj1/file.txt
    include /home/jones/proj1/file.txt

    The client examines the statements (reading from bottom to top) and determines that the /home/jones/proj1/file.txt file is a candidate for backup, but is not a candidate for compression processing.

  • Windows operating systemsThe client processes exclude.dir and other include-exclude statements first. The client then considers any exclude.compression statements. For example, consider the following include-exclude list:
    exclude c:\test\*.*
    exclude.compression c:\test\file.txt
    include c:\test\file.txt

    The client examines the statements (reading from bottom to top) and determines that the c:\test\file.txt file is a candidate for backup, but is not a candidate for compression processing.

  • Include-exclude compression processing is valid only for backup and archive processing. The exclude.compression option does not affect whether files are excluded from backup or archive processing, only whether they are excluded from compression processing.