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.
Note
You can also back up the redo log entries manually.
More information: 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.
More information: Glossary, Server Permission
You can only back up redo log entries after at least one complete data backup has been carried out.
More information: Backing Up Data
You have created a backup template for log backups.
Note
For automatic log backup, you cannot use pipes.
More information: Defining Backup Templates
The database is in the ONLINE or ADMIN operational state.
Overwrite mode for the log area is switched off.
More information: Changing Log Settings
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.
In the context menu of the database, choose Administration.
Open the Overview tab page.
Choose 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.
Note
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.
More information: Database Manager CLI, archive_stage
Select Deactivate automatic log backup.
Choose Deactivate.
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 |
MYLOG |
Backup type |
LOG |
Data carrier type |
FILE |
Data carrier (Device/File) |
DEMODB_MYLOG If you do not enter an absolute path, then the database system uses the run directory of the database. Example: C:\Documents and Settings\All Users\Application Data\sdb\data\wrk\DEMODB\ More information: Run directory |
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