-f tape_backup
This offload agent command backs up data to tape storage.
To create a snapshot backup with a subsequent tape backup,
TSM_BACKUP or TAPE_BACKUP_FROM_SNAPSHOT must be specified
either as part of the backup command or as a profile parameter. This setting applies to all backups.
The management agent updates the usability state with TAPE_BACKUP_PENDING. The
IBM Storage Protect
Snapshot offload agent then picks up all
snapshot backups in the state TAPE_BACKUP_PENDING and backs them up to tape.
The fcmcli -f backup operation must be issued from the production system.
fcmcli -f tape_backupBy
specifying additional options or filter arguments such as -i instance-name
-d database-name
the appropriate backup for the given instance and or database
can be selected for offloading to tape. The -B backup-id option
cannot be specified in conjunction with -f tape_backup.
The backups should be processed in chronological order. The tsm4acs backs
up the oldest snapshot eligible for transfer to IBM Storage Protect.(DB2) Offloaded tape backups are not be registered in the DB2 history on the production system. They are reflected in the DB2 history on the offload system when the assigned volumes have not been overwritten. For more information, see DB2 backup history file overview.
fcmcli -f tape_backup filter_argumentsIf multiple snapshot backups of a database are candidates for offloading to tape, the IBM Storage Protect Snapshot offload agent (whether as a daemon or with the -f tape_backup function) always selects the one with the oldest snapshot backup ID. This selection ensures that the IBM Storage Protect backups are created in the appropriate sequential order.
- Mount the file systems on the offload system if they were not previously mounted using fcmcli with the 'mount' function or by a forced mount request. If all necessary file systems were mounted, this step is skipped.
- Update the usability state to TAPE_BACKUP_IN_PROGRESS for all partitions that have the usability state TAPE_BACKUP_PENDING set.
- Back up these partitions to tape.
- Update usability states: For those partitions for which the backup succeeded, reset the usability state TAPE_BACKUP_PENDING and set TAPE_BACKUP_COMPLETE. For those partitions where the backup failed, set the usability state TAPE_BACKUP_FAILED. For all participating partitions, reset the usability state TAPE_BACKUP_IN_PROGRESS.
- Unmount the file systems from the offload system.
If a backup to IBM Storage Protect fails, the IBM Storage Protect Snapshot software can try the backup operation again.
In DPF environments, offloaded backups can be performed only when the snapshot was created on all partitions. If the Offload Agent retries a backup operation, it only backs up those partitions that have not been backed up successfully.
In DPF environments with more the one partition it can be useful to perform the
offloaded IBM Storage Protect backup in parallel on multiple
partitions. This is useful when the DB2 DPF database is spread
across more than one backup system. The profile parameter
NUMBER_BACKUPS_IN_PARALLEL in the OFFLOAD section can be used
to specify the degree of parallelism. For more information, see Configuration files.