Command to create a devclass for dbbackup def devclass mydbbackup devtype=file maxcapacity=12m Command to backup a TSM DB ba db devclass=dbbackup type=full Command to check dbbackup q dbb Command to mirror the TSM DB def dbc /primary/db1.dsm /mirror/db1m.dsm f=12 Command to mirror the TSM Recovery Log def logc /primary/log1.dsm /mirror/log1m.dsm Command to set the TSM Recovery log in roll forward mode set logmode rollforward Command to Automate the DB Backup def dbbackuptrigger devc=dbbackup logfullpct=60 maxinc=10 Command to restore the TSM DB dsmserv restore db devclass=DISK-TMP dbvol=/ldb/84849157.dbb commit=yes If there is only one BACKUPFULL BACKUPFULL volume in the series, run the t he following command command::
DSMSERV RESTORE DB DEV=dev_class_name VOL=vol_name COMMIT=Y COMMIT=Yes es Under Incremental if there is more then one volume in the series, run the following for each volume in sequence:
DSMSERV RESTORE DB DEV=dev_class_name D EV=dev_class_name VOL=vol_name VOL=vol_name COMMIT=No On the last volume, run the following: DSMSERV RESTORE DB DEV=dev_class_name D EV=dev_class_name VOL=vol_name VOL=vol_name COMMIT=Yes