Using the disk cache method for file system incremental backups

If your file system contains too many files for a file system incremental backup to complete using either the memory-resident method or the memory-saving method, you can use the disk cache method for file system incremental backups. This method uses the least amount of memory during file system incremental backup, but requires significantly more disk space.

About this task

With this method, a temporary disk cache file is created to store information about objects in the filespace during the incremental backup, thus reducing the amount of memory required. The disk cache file is deleted after the incremental backup completes.

You can set the diskcachemethod option in the client system options file or select the disk cache method from the Performance Tuning tab in the Preferences Editor.

Procedure

To set the option in the Preferences Editor, do the following:

  1. From the IBM Spectrum Protect™ window menu bar, click Edit > Client Preferences.
  2. Click the Performance Tuning tab in the Preferences Editor.
  3. If you want to use the disk cache method for all filespaces on your system, click Apply algorithm to all filespaces. If you want to apply the disk cache method to an individual filespace, click Select individual filespaces, then click Browse and select a filespace.
  4. Click Use disk cache method, and specify a location for the disk cache file in the Disk Cache File Location field.
  5. If you are applying this method to all filespaces on your system, click OK. If you are applying this algorithm to an individual filespace, click Add to add an Include.FS statement to the Individual Filespace Statement List. This statement specifies the memory algorithm to use on a per filespace basis. Then click OK.
    Note: If you want to change an existing Include.FS statement, click a statement in the Individual Filespace Statement List, modify the options, then click Update and OK.

Results

To set the diskcachemethod option in the client system options file (dsm.sys):

  • Specify memoryefficientbackup diskcachemethod. This applies the disk cache method to all filespaces on your system.
  • To specify the disk cache method on a per filespace basis, use memoryefficient=diskcachemethod as a parameter in the Include.FS statement. For example:
    include.fs /home memoryefficient=diskcachemethod diskcachelocation="/usr"

After you set the disk cache method, proceed with the file system incremental backup.

Note: For performance reasons, do not use a remote drive to store the disk cache file.
Related information:
Performance Tuning