Hi all,
We use TSM for backup DB2 database. We configure parameters:
LOGARCHMETH1 = LOGRETAIN
AUTO_DEL_REC_OBJ = ON
REC_HIS_RETENTN = 0
NUM_DB_BACKUPS = 7
Active log path = /db2/<SID>/log_dir/NODE0000
The active log directory fill up very fast. So how to auto delete expired logs in this directory?
Thanks
DuyPM
Hello DuyPM,
With the logarchmeth1 configuration parameter set to LOGRETAIN, the log files are archived in the log path directory. The online disk space eventually fills up, unless you move the log files to a different location.
With the logarchmeth1 configuration parameter set to USEREXIT, DISK, or VENDOR, a user exit program moves the archived log files to a different location.
Sample:
First log archive method (LOGARCHMETH1) = TSM:MC_BET
Best regards,
Joachim
Hi Joachim,
After full backup, Can We remove archive log after we moved it? And When can we remove it?
Thanks
DuyPM
Hi
Yes you can delete archive log any time from log_archive file system.
Thanks
Sadiq
Hi,
With my parameters configured, Can archive_log auto delete?
Thanks
DuyPM