Oracle7 Enterprise Backup Utility Administrator's Guide Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index



Go to previous file in sequence Go to next file in sequence

CHAPTER 1. Features and Architecture


This chapter describes the main features and components of the Enterprise Backup Utility, and briefly discusses the system architecture.

Topics covered in this chapter are:

Introduction

An Oracle database consists of datafiles, control files, parameter files, log files, and archived log files (when using log archiving). The Enterprise Backup Utility provides an effective mechanism to back up, restore, and recover all types of Oracle database files.

Once you register database identification information with the Enterprise Backup Utility, the utility automatically locates the tablespaces, datafiles, control file(s), and archived log files associated with the database for all future backup and restore operations.

EBU maintains the configuration information on target databases in a catalog on a separate Oracle7 Server. When you are ready to perform a backup or restore, the utility retrieves the physical details about the database structure from the backup catalog.

Database Restore vs. Database Recovery

A database restore is an essential part of database recovery, but not synonymous with it. Database recovery allows you to reconstruct a damaged database and return it to a consistent state that it had prior to damage. Restoring is the processing of rebuilding corrupted or lost files from backup copies.

After restoring a database, you must apply other recovery steps to bring the database to a consistent point-in-time prior to the point of failure or damage.

Note: Restoring is only necessary after media failure. If you are performing instance recovery, you need not restore the database files. The Oracle7 Server reads the online redo log files and automatically performs instance recovery.

Performance

Multiple datafiles or tablespaces can be backed up simultaneously to multiple devices in parallel. This fast, parallelized backup reduces the time required to perform backups.

During restores, EBU automatically uses the most recent backup available for each file, minimizing the amount of recovery that is necessary. Data can also be restored in parallel from multiple devices to facilitate speedy restoration.

Error Checking

EBU performs a number of checks each time it is invoked to make a full backup of a database. These checks are performed automatically for all tablespaces and datafiles for the database being backed up. When performing online backups, the Enterprise Backup Utility checks for any inconsistency in the configuration of the database and updates the backup catalog if the configuration information does not match.

Upon restore, the utility checks data block addresses to ensure there are no gaps, verifies that data block numbers correspond to actual datafiles, and performs a checksum on each file (if checksumming was enabled during backup).

Report Generation

The Enterprise Backup Utility includes a backup catalog management utility, ebutool, that allows you to generate reports on information on target databases and their corresponding backup and restore operations.

Enterprise Backup Utility Architecture

Component Layers

Figure 1 - 1 illustrates the component layers in Enterprise Backup Utility architecture.

Figure 1 - 1. Component Layers in the Enterprise Backup Utility

Target Databases

Target databases are the Oracle7 databases designated for backup. You identify target databases to the Enterprise Backup Utility using the register command.

Backup Catalog Database

The tables comprising the backup catalog are stored in the backup catalog database. The backup catalog database is an Oracle7 database separate from any of the target databases. Its sole purpose is to host the backup catalog.

The suggested size of the backup catalog database is about 20 MB.

Attention: Oracle Corporation strongly recommends that the backup catalog database be dedicated exclusively to storing the backup catalog, and that it run on a separate machine from all target databases.

Backup Catalog

The backup catalog is a collection of tables in an Oracle7 database. It contains structural information about the target databases, as well as a backup and restore history for each target database (including the archived redo logs affiliated with each backup job).

Command Scripts

The DBA or system administrator creates command scripts to define and invoke backup and restore operations. Each command script specifies the operation to be performed and accesses the components needed to carry out the operation.

Control Process

The control process oversees the overall backup/restore operation. It takes the command scripts and retrieves and stores catalog information. It also spawns I/O processes.

I/O Processes

I/O processes read and write database files between storage disks and the backup media devices.

Database Module for Oracle (API Glue)

The Enterprise Backup Utility works in conjunction with a third-party media management product to provide complete backups and restores of the target databases.

The interface from EBU to the media management product is provided by the Database Module for Oracle (DMO). It is a set of routines that allows the reading and writing of data to the media device.

Note: You must obtain the DMO from your media management vendor before using the Enterprise Backup Utility.

Media Management Product

The media management product handles the direct interaction with the media devices and provides such features as scheduling, data compression, media aging reports, labeling, and network backups.

Media Device

The media management product uses media devices to store database files. Common media devices are 4-mm tapes, 8-mm tapes, Digital Linear Tapes, and library CDs.

Enterprise Backup Utility Processes

Figure 1 - 2 illustrates the interaction of the Enterprise Backup Utility background processes.

Figure 1 - 2. Architecture of the Enterprise Backup Utility

obackup

Monitors all other process and communicates with the target database and the backup catalog. The obackup process spawns the Instance Manager if one is not already running

brio

Coordinates between obackup and the brdk and brtp processes: one brio process is spawned per parallel I/O stream

brdk

Handles read/write of disk files. By default, there is one brdk per I/O stream, per file. If the mux specifier is used, multiple brdk processes are created for single I/O streams.

brtp

Handles read/write of tape files. There is one brtp process per parallel I/O stream.

brd (Instance Manager)

Daemon process that monitors the backup catalog and obackup process. The Instance Manager handles cleanup for all backup and restore operations which terminate abnormally.

Figure 1 - 2 illustrates only a single database being backed up or restored onto one media device. On any given host, the Enterprise Backup Utility executables must be installed on a one-per-oracle software owner basis. Figure 1 - 3 illustrates a single obackup control process with two spawned I/O processes, streaming to two media devices.

Figure 1 - 3. Single obackup Instance with Two Parallel Data Streams

New Features in Release 2.1

The following features are new or significantly modified in release 2.1 of the Enterprise Backup Utility.

Database Recovery

EBU can now be used to automate database recovery, as well as media file restore. See Chapter 5, "Restoring and Recovering a Database", for information about this feature.

Backing Up the Backup Catalog

The backup catalog is now backed up by default with every backup of a target database. Catalog backup is the default behavior, but can be disabled in the backup command script. See Chapter 7, "The Backup Catalog", for more information.

One-Button Installation

Prior releases of the Enterprise Backup Utility required separate Installer sessions to install the EBU executables and create the backup catalog. Release 2.1 creates the backup catalog schema for you when the utility is first invoked (you must still create the backup catalog database).

Catalog Upgrade

Release 2.1 of the Enterprise Backup Utility must be used with release 2.1 of the backup catalog. EBU now includes a facility for upgrading earlier backup catalogs. See Chapter 7, "The Backup Catalog".

EBU and OBK Nomenclature

Beginning with release 2.1, Enterprise Backup Utility executable and process prefixes and suffixes are changing from "obk" to "ebu". Please note that both prefixes are still in use with release 2.1. The transition to "ebu" will be completed in release 2.2.

Archive Log Format Filtering

Rather than backing up all files in specified directories when archive log backup is enabled, EBU now backs up only files matching the pattern specified by the LOG_ARCHIVE_FORMAT initsid.ora parameter.




Go to previous file in sequence Go to next file in sequence
Prev Next
Oracle
Copyright © 1996 Oracle Corporation.
All Rights Reserved.
Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index