Start of Content Area

Procedure documentation Performing Automatic Logical-Log Backup (ON-Archive)  Locate the document in its SAP Library structure

Use

This procedure describes how to perform an automatic logical-log backup on the Informix database with ON-Archive outside CCMS, as follows:

Although SAP recommends using CCMS, the methods outside CCMS are described here in case you want to use them. For more information about automatic logical-log backup, including the methods recommended by SAP, see Choosing Automatic Logical-Log Backup (ON-Archive).

Caution

For any of the procedures in which you use tape media, you must always make sure that the correct tape volume is mounted in the appropriate tape device. If not, the operation fails. If your logical logs have filled completely, see Emergency Logical-Log Backup.

Prerequisites

./arcauto -v LOGTAP -d

Procedure

Using the Script logevent.sh

Note

You do not have to explicitly start logevent.sh because it is automatically started when the Informix database server comes online. It triggers logical-log backups when required. All you have to do is make sure that the correct volume is available.

Check the log backup status, if required.

Entering your own ON-Archive Commands

  1. Enter a command like the following at the command line:
  2. $ onarchive 'BACKUP/LOGFILE/AUTOMATIC/VSET=LOGTAP'

    For more information, see the Informix documentation.

  3. Check the log backup status, if required.

Result

The logical log is backed up. Therefore, you can use the logical-log backup for a restore in the event of database failure.

Make sure that you check the logical-log backup result and check the tapes. Finally, be sure to complete the logical-log backup.

 

See also:

Informix documentation at http://www.informix.com