Enabling Automatic Backups of Archive Log Files

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.


  1. From the DB2 console, type the following command to set the USEREXIT parameter.




    The DB2 database name


    The name of the client in the CommCell Console

    When you have a clustered environment, you must set this parameter to the virtual client name in the CommCell Console.


    The name of the Commvault installed instance


    The path where the agent software is installed

    For non-Linux UNIX agents, use base64 for 64-bit machines and base32 for 32-bit machines.

    For Linux, use base.

    db2 update db cfg for database_name using USEREXIT OFF

  2. To set the LOGARCHMETH parameter to VENDOR, type the command.

    db2 update db cfg for database_name using LOGARCHMETH1 "'VENDOR:/software_install_path/Base/libDb2Sbt.so'"

  3. To set the LOGARCHOPT1 parameter, type the command

    db2 update db cfg for database_name using LOGARCHOPT1 "'CvClientName=CvClientName,CvInstanceName=CvInstanceName'"

Last modified: 7/26/2018 2:55:58 PM