Performing Periodic Incremental Transaction Log Backups

To perform an incremental backup of transaction log files, use the dbbackup command.

On the host of the selected runtime database, run:

dbbackup –y –c connection-string target-directory

where:

For example, the following command creates the incremental database transaction log backup file in c:\smpbackup\incremental\default:

dbbackup -y -t -n -x -c "dbn=default;uid=dba;pwd=sql;links=tcpip(DoBroadcast=NO;VerifyServerName=NO;host=localhost;port=5200)" C:\smpbackup\incremental\default

Use dbtran to translate the incremental transaction log generated to SQL commands. This utility fails if any data in the log is invalid or corrupted. If the utility succeeds, you can safely apply the log to the full backup on the recovery server.

  1. Validate the transaction log backup by converting it to a SQL command file:
    dbtran yymmddxx.log yymmddxx.sql
  2. Delete the resulting yymmddxx.sql file as it is not required for any other purpose.