LOG_BACKUP_MODE configuration parameter

Use the LOG_BACKUP_MODE configuration parameter to specify the log retention policy the database server will follow.

onconfig.std value
Not present.
if not present
NONE
takes effect
  • When the database server is shut down and restarted.
  • When you reset the value dynamically in your onconfig file by running the onmode -wf command.
  • When you reset the value in memory by running the onmode -wm command.

Usage

Set LOG_BACKUP_MODE to NONE or leave it blank only if you do not want to back up the logical logs. If you do so:

  • The database server frees the logical logs without requiring that you back up those logs. The logical logs do not get marked as free, but the database server can reuse them.
  • If you perform a backup that requires logical log backup (A backup without the -p flag), the ON-Bar activity log shows a warning and return code 152 because they are not available for backup anymore. All transactions in those logs are lost, in case the database server needs to be restored from a backup.
  • Only whole-system backups (backups performed with the -w flag) can be performed when LOG_BACKUP_MODE is set to NONE.
  • LOG_BACKUP_MODE replaces nad overrides the former LTAPEDEV configuration parameter for server log retention purposes.