You can enable automatic backups of the archive log files by using the Commvault library parameters. When the log files that accumulate in the log archive path reach the default threshold, the software automatically backs up the log files by using the third-party command line.
Before You Begin
Modify the Threshold for DB2 Log File Backups.
Procedure
-
Set the LOGARCHMETH parameter to VENDOR using the following command.
db2 update db cfg for database_name using LOGARCHMETH1 "'VENDOR:/software_install_path/Base/libDb2Sbt.so'"
-
Set the LOGARCHOPT1 parameter using the following command
db2 update db cfg for database_name using LOGARCHOPT1 "'CvClientName=CvClientName,CvInstanceName=CvInstanceName'"
Related Topics
Parameters for Enabling Automatic Backups of Archive Log Files