Set the primary DB2 UDB database transaction logging to archive logging, instead of circular logging for Replication Agent.
Connect to the database by entering this command at the CLP prompt.
CONNECT TO dbalias USER db2_user USING db2_user_ps
where dbalias is the cataloged alias of the primary database, db2_user is the primary database user, and db2_user_ps is the password.
Determine the LOGARCHMETH1 setting:
GET DB CFG FOR dbalias
UPDATE DATABASE CONFIGURATION USING logarchmeth1 LOGRETAIN
UPDATE DATABASE CONFIGURATION USING logarchmeth1 DISK:path
where path is the full path name of the directory where the archive logs are to be stored.
BACKUP DATABASE dbname TO "backup_dir"