If you have activated automatic log backup, the database system backs up the redo log entries automatically.
Backups of redo log entries (log backups) are required so that the database can be restored to the desired point in time after certain system breakdowns. Redo log entries are where the database system logs all changes that database users have made to data.
Regular log backups are also important for another reason: The database system can overwrite a log segment of the log area with a new entry only after it has been backed up.
You can also back up the redo log entries manually (see Backing Up Log Entries).
You are logged on to the database as the database system administrator or as a DBM operator with server authorization for performing backups (see Glossary, Server Permission).
You can only back up redo log entries after at least one complete data backup has been carried out (see Backing Up Data).
You have created a backup template for log backups (see Defining Backup Templates).
For automatic log backup, you cannot use pipes.
The database is in the ONLINE or ADMIN operational state.
Overwrite mode for the log area is switched off (see Activating or Deactivating the Overwrite Mode for the Log Area).
Only on Microsoft Windows:
If you want to back up data to a data carrier on a remote computer, perform the steps described in Database Administration, Backing Up and Restoring Data with Remote Computers.
Select the database in the explorer tree.
In the context menu of the database, choose Administration.
Open the Overview tab page.
Choose Automatic Log Backup.
Activating Automatic Log Backup
Select Activate Automatic Log Backup.
Select the backup template.
Select when you want the system to run log backups.
Create log backup when log segment is full (Default)
Create a log backup every <number> seconds
Choose Activate.
For log backups to data carriers of the file type, you have to archive the backup files regularly. To do this, use the database tool Database Manager CLI (see Database Manager CLI, archive_stage).
Deactivating Automatic Log Backup
Select Deactivate automatic log backup.
Choose Deactivate.
Switching to a Different Backup Template
Select Restart automatic log backup
Select the backup template.
Choose Restart.
You have activated automatic log backup and specified the following backup template:
Property |
Value |
---|---|
Name of the backup template |
DEMODB_LOG |
Backup type |
LOG |
Data carrier type |
FILE |
Data carrier (Device/File) |
DEMODB_MYLOG Note that i you do not enter an absolute path, then the database system uses the run directory of the database, see Run directory. Example: C:\ProgramData\sdb\globaldata\wrk\DEMODB\DEMODB_LOG |
Size of data carrier |
No restriction (blank or 0) |
Block size |
8 pages |
Overwritable |
No |
The system writes continuous log backups to the following backup files:
DEMODB_MYLOG.001
DEMODB_MYLOG.002
DEMODB_MYLOG.003
DEMODB_MYLOG.004
DEMODB_MYLOG.005
Database Administration, Backing Up Log Entries