Editing a db2.conf file

The db2.conf file contains two blocks of settings. The first block contains the settings that you can use to perform a redirected database restore using Backup Exec's vendor dll db2sqluv.dll. The second block contains the settings that you can use to perform a redirected roll forward of a database using the Backup Exec vendor dll db2sqluv.dll. or user exit program db2uext2.exe.

See Configuring DBA-initiated job settings for DB2.

To edit a db2.conf file

  1. On the computer on which the DB2 instances that you want to redirect are installed, open the db2.conf file for editing.

    On the media server, the db2.conf file is located at the following path:

    \Program Files\Symantec\Backup Exec\db2.conf
    

    On remote DB2 servers, the db2.conf file is located at the following path:

    \Program Files\Symantec\Backup Exec\RAWS\db2.conf
    

    The db2.conf file consists of keyword lines that form object identifiers. The lines in each object identifier specify the database and other information.

  2. Remove the pound sign (#) that precedes the lines and add the appropriate information.

  3. Save and close the db2.conf file.

  4. Repeat step 1 - step 3 on each DB2 server that you want to back up with the DB2 Agent.

    After you complete a redirected restore job or a roll forward, you must remove the instructions for that database. If you do not remove the instructions, they apply to all subsequent restore operations.

More Information

About DBA-initiated jobs for DB2 operations

Example db2.conf file