If automatic log backup is active, the system continuously saves the contents of the log area in files. To use this function, overwrite mode for the log area must be deactivated (see Glossary, Overwrite Mode for the Log Area).
You want to back up the log area automatically at regular intervals.
You have already executed a data backup. You have defined a backup template of type FILE with the name DemoFileLog for backup type LOG or AUTO.
You can find the prerequisites under Database Manager CLI, autolog_on
Call the Database Manager CLI and log on as DBM operator OLEG with password MONDAY, connect to the database instance DEMODB, and activate automatic log backup using backup template DemoFileLog:
>dbmcli -u OLEG,MONDAY -d DEMODB autolog_on DemoFileLog
OK
Automatic log backup is activaated.
We recommend that you regularly archive the backup files produced by the automatic log backup function.
If you want to archive the files in the file system of another computer, use the operating system commands.
If you want to archive the files using backup tools from other providers, you can use DBM commands to save the contents of the backup files in pipes, which can then be read by the backup tools.
Defining a Backup Template for Log Backup to a File
Database Administration, Backing Up Log Entries, Archiving Backup Files
Database Manager CLI, archive_stage, archive_stage_repeat