Use this command to specify when TSM backs up the database. A backup occurs when the specified percentage of the assigned capacity of the recovery log is reached. TSM uses the database trigger only if the log mode is set to ROLLFORWARD.
Privilege Class
To perform this task, you must have one of the following privilege classes:
Syntax
>>-DEFine DBBackuptrigger--DEVclass--=--device_class_name-------> .-LOGFullpct--=--50------. >--+------------------------+-----------------------------------> '-LOGFullpct--=--percent-' >--+------------------------------------+-----------------------> '-INCRDEVclass--=--device_class_name-' .-NUMINCremental--=--6------. >--+---------------------------+------------------------------->< '-NUMINCremental--=--number-'
Parameters
Each incremental backup, whether run automatically or requested by an administrator, is added to the count of incremental backups run. Each full backup, whether run automatically or requested by an administrator, resets the count for incremental backups to zero.
Examples
Task
Set the database backup trigger to 80 percent. After two incremental backups, do a full backup. Use the FILE device class.
define dbbackuptrigger devclass=file logfullpct=80 numincremental=2
Related Commands
Table 48. Commands Related to DEFINE DBBACKUPTRIGGER
Command | Description |
---|---|
BACKUP DB | Backs up the TSM database to sequential access volumes. |
DEFINE DEVCLASS | Defines a device class. |
DELETE DBBACKUPTRIGGER | Deletes the database backup trigger. |
QUERY DBBACKUPTRIGGER | Displays information about the database backup trigger. |
SET LOGMODE | Sets the mode for saving records in the recovery log. |
UPDATE DBBACKUPTRIGGER | Changes one or more attributes of the database backup trigger. |