Preparing for Emergency Logical-Log Backup with SAPDBA (Informix 6.0)
Use
You can use SAPDBA for Informix to perform an emergency logical-log backup when the logical log is full. For more information, see
Emergency Logical-Log Backup with SAPDBA (Informix 6.0).
Perform this procedure before an emergency logical-log backup becomes necessary. Otherwise, you need more time to create the backup when the logical log is full, so extending the downtime during which the database cannot operate.
The preparations in this procedure are part of
If you are not using the SAP scripts and your logical log is full, refer to
Emergency Logical-Log Backup without SAP Scripts (ON-Archive).Prerequisites
Procedure
DEVICE DATARTR_VOP = /dev/rmt/0hc
For more information, see
Defining Devices for ON-Archive with SAP Scripts.After editing the file, you need to restart the
ON-Archive cataloger for the changes to take effect, as follows:stop_oncatlgr
(it does not matter if the cataloger was not running)start_oncatlgr
$ onarchive 'DEFINE/VSET=ONDATARTRLOG/DEVICE_TYPE=DATARTR_VOP/DRIVER=TAPE/ACCESSIBILITY=0/CLASS=SYSTEM'
$ onarchive 'DEFINE/VOLUME/VSET=ONDATARTRLOG/LABEL=ONDAT1'
For more information, see
Setting Up Volume Sets and Volumes for ON-Archive with SAP Scripts.Result
You are now ready to
perform an emergency logical-log backup with SAPDBA.
See also:
Informix documentation