Backups

This section provides a series of RMAN and korn shell scripts that illustrate backing up a database and its separate components. RMAN can back up datafiles, control files, archived redo files, and backup pieces. RMAN does not back up the online redo logs.

Note

RMAN, as part of its default backup behavior, touches each datafile block, performs verification checks, and then logs any detected corruption. You can monitor potential corruption by querying the V$BACKUP_CORRUPTION and V$COPY_CORRUPTION views.

For a database to be backed up it must be in mount mode or open. The database needs to at least be in mount mode, because RMAN needs to access the target database control file before performing a backup.

Get Oracle RMAN Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.