Backing up migrated files separately from resident files

In some cases, you can limit the impact to backup performance by backing up migrated files separately from resident files.

About this task

The backup-archive client must temporarily copy a migrated file during an incremental backup operation if there is no backup copy, or if the stub file encryption changed. The temporary copies of migrated files can affect the performance of a backup operation. You can limit the impact to performance by backing up migrated files separately from resident files. Use the skipmigrated option to exclude migrated files from a backup operation.

When the skipmigrated option is set yes, the backup-archive client skips migrated files. Permanently skipping the backup of migrated files can prevent you from recovering your data in a disaster. Temporarily skipping migrated files can reduce the time that is required for backup operations.

You can complete backup operations in a reasonable time and protect all your files if you run two types of backup operations. Run one backup operation only on resident files and run one backup operation on all files (resident and migrated files). The two backup operations protect all files.

Procedure

  1. For your regular backup operations, set skipmigrated=yes. Migrated files are excluded from regular backup operations. The following backup-archive client command runs an incremental backup that skips migrated files:
      dsmc inc N:\budgets\ –skipmigrated=yes
  2. Run another backup operation with skipmigrated=no. Files that are excluded from your regular backup operation are included. The backup operation makes temporary copies of the migrated files and can take a long time.
  3. When the backup in 2 is complete, set skipmigrated=no for your regular backup operations. The quantity of migrated files that must be temporarily copied is reduced from 2. All files (resident and migrated) are backed up in your regular backup operations.

Results

All files are backed up. Each backup operation completes in a reasonable time.