Version 6.3.1
 —  Adabas Administration  —

External Backup Support

Adabas supports backing up databases using foreign, external backup systems. Such systems have several advantages over the backup utility ADABCK:

These features can considerably reduce the time required to recover a database from a disaster situation.

External Backup

For an offline database, there are no special considerations to be taken into account, and the external backup system can be used without any Adabas-specific actions being required. However, there must not be any updating utility functions active (e.g. ADAMUP).

For an online database (if it is to meet the 24 x 7 requirement), the external backup system can only be used if the Adabas database is in a synchronized state. The parameter EXT_BACKUP of the operator utility ADAOPR can be used to ensure this: the keywords PREPARE and CONTINUE can be used.

EXT_BACKUP=PREPARE brings the database into a transaction-consistent state. New transactions will be blocked, but transactions that are currently open will continue processing. Database access and control calls are not delayed. The following restrictions apply:

If the EXT_BACKUP=PREPARE call is successful, the database is in the required state, and the following message is written to the database log file:

%ADANUC-I-EXTBPREP, preparing for external backup, (time stamp)

The external backup system can now be started to perform the backup. Once the backup has been made, EXT_BACKUP=CONTINUE should be used to lift the transaction-blocking mode and continue normal database operations. The following actions are performed:

After successful completion of the EXT_BACKUP=CONTINUE call, the following message is written to the database log file:

%ADANUC-I-EXTBCONT, continue from external backup, (time stamp)

External Restore

If an Adabas database is to be restored from an external backup system, the database must be offline, so there are no Adabas-specific considerations to be taken into account

Notes:

  1. ADAOPR will write a SYNX checkpoint.
  2. If an external backup system is used to backup/restore at the volume level (activation of disk mirrors), the PLOG must not be located on the same volume as the database.
  3. If an external backup is to be aborted, you can issue EXT_BACKUP=ABORT from ADAOPR. In this case, the PLOG isn't switched, and no checkpoint is written.

Examples

The examples subdirectory of the installation contains some procedures that simplify the use of external backups and restores. There is one program each for backup and restore - these procedures are triggered by a configuration file. See the configuration file xxx_conf for detailed information. These procedures currently support the following system:

Top of page