Choosing Continuous Logical-Log Backup (ON-Archive)
Use
You can back up the logical log of your Informix database using continuous backup with
ON-Archive . With continuous backup, you start a process that backs up the individual logical-log files as they fill, either to tape or disk. SAP recommends that you back up to tape if possible because the process is easier. Continuous logical-log backup is often better than automatic backup (especially if you are only doing a periodic automatic backup, for example, once a day). Continuous backup for ON-Archive has been improved with Informix version 7.2.
If your Informix version is older than 7.2, SAP recommends you not to use continuous backup since it is difficult to operate. Starting with version 7.2, improvements have been made making it easier to use. The information in this section relates to the improved backup.
Prerequisites
To use continuous logical-log backup, you need to define volume sets and volumes. Refer to
Setting Up Volume Sets and Volumes for Logical-Log Backup (ON-Archive).Procedure
The following table summarizes the advantages and disadvantages of continuous backup:
Summary of Continuous Logical-Log Backup
Advantages |
Disadvantages |
The logical log is constantly backed up so chance of full logical log should be reduced. If a disk staging area is used, there is no danger that an incorrectly mounted tape halts the backup. The worst-case scenario – logical log and its mirror both fail – only leads to loss of part of one logical-log file. |
Operator is required to ensure that disk backups (if used) are copied to tape in time (an extra step). Informix offers no way to guarantee that the backup process is running when the system is started. Overall, the chances of full logical log probably not reduced compared to "scheduled and triggered" automatic backup. |
The remainder of this process assumes that you choose continuous logical-log backup.
You can use either attended or unattended mode:
When the current tape volume is full, you get a message. You then interrupt the continuous backup request, change the tape, and continue with a new backup request. Each tape volume contains one save set.
SAP recommends that you do not use this method since it is difficult to see when the tape volume is full.
With this approach, you back up to disk in unattended mode and later copy to tape in attended mode. This approach causes problems when you copy the disk backup to tape:
Result
You have decided to use continuous logical-log backup and you have decided which type to use. This is an essential part of deciding your
approach to logical-log backup with ON-Archive .
See also:
Informix documentation at
http://www.informix.com