Read Oracle RMAN 11g Backup and Recovery Online
Authors: Robert Freeman
RMAN Workshop:
Create the Recovery Catalog User Account
. . . . . . . . . . . . . 210
RMAN Workshop:
Create the Recovery Catalog
. . . . . . . . . . . . . . . . . . . . . . . . 211
RMAN Workshop:
Register Your Database in the Recovery Catalog
. . . . . . . . . 211
RMAN Workshop:
Create a Virtual Private Catalog
. . . . . . . . . . . . . . . . . . . . . . 213
RMAN Workshop:
Merge Two Recovery Catalogs
. . . . . . . . . . . . . . . . . . . . . . 214
Manually Resetting the Database Incarnation (reset catalog) . . . . . . . . . . . . . . . 215
Manually Resynchronizing the Recovery Catalog (resync catalog) . . . . . . . . . . 216
RC_ARCHIVED_LOG (V$ARCHIVED_LOG) . . . . . . . . . . . . . . . . . . . . . . . . . . 217
RC_BACKUP_CONTROLFILE (V$BACKUP_DATAFILE) . . . . . . . . . . . . . . . . . . 218
RC_BACKUP_CORRUPTION (V$BACKUP_CORRUPTION) . . . . . . . . . . . . . . 218
RC_BACKUP_DATAFILE (V$BACKUP_DATAFILE) . . . . . . . . . . . . . . . . . . . . . . 218
RC_BACKUP_FILES (V$BACKUP_FILES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
RC_BACKUP_PIECE (V$BACKUP_PIECE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
RC_BACKUP_REDOLOG (V$BACKUP_REDOLOG) . . . . . . . . . . . . . . . . . . . . 219
RC_BACKUP_SET (V$BACKUP_SET) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
RC_BACKUP_SPFILE (V$BACKUP_SPFILE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
RC_CONTROLFILE_COPY (V$DATAFILE_COPY) . . . . . . . . . . . . . . . . . . . . . . . 219
RC_COPY_CORRUPTION (V$COPY_CORRUPTION) . . . . . . . . . . . . . . . . . . . 219
RC_DATABASE (V$DATABASE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
xiv
Oracle RMAN 11
g
Backup and Recovery
(V$DATABASE_BLOCK_CORRUPTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
DATABASE_INCARNATION (V$DATABASE_INCARNATION) . . . . . . . . . . . . . 220
RC_DATAFILE_COPY (V$DATAFILE_COPY) . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
RC_LOG_HISTORY (V$LOG_HISTORY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
RC_OFFLINE_RANGE (V$OFFLINE_RANGE) . . . . . . . . . . . . . . . . . . . . . . . . . . 221
RC_REDO_LOG (V$LOG, V$LOGFILE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
RC_REDO_THREAD (V$THREAD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
RC_RMAN_CONFIGURATION (V$RMAN_CONFIGURATION) . . . . . . . . . . . . 221
RC_TABLESPACE (V$TABLESPACE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Catalog Views Intended for Use by Oracle Enterprise Manager . . . . . . . . . . . . . 222
RMAN Workshop:
Do an Offline Backup
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Offline Backups Without Using Configured Defaults . . . . . . . . . . . . . . . . . . . . 232
Modifying the Retention Policy for a Backup Set . . . . . . . . . . . . . . . . . . . . . . . 240
Overriding the configure exclude Command . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Checking the Database for Errors with the backup Command . . . . . . . . . . . . . . 243
Skipping Offline, Inaccessible, or Read-Only Datafiles . . . . . . . . . . . . . . . . . . . 243
Backing Up Datafiles Based on Their Last Backup Time . . . . . . . . . . . . . . . . . . 244
Making Copies of Backups on Your RMAN Copier . . . . . . . . . . . . . . . . . . . . . . 245
RMAN Workshop:
Do an Online Backup
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Contents
xv
Database, Tablespace, and Datafile Image Copies . . . . . . . . . . . . . . . . . . . . . . 253
Differential vs. Cumulative Incremental Backups . . . . . . . . . . . . . . . . . . . . . . . 257
RMAN Workshop:
Do an Incremental Backup
. . . . . . . . . . . . . . . . . . . . . . . . . 260
RMAN Workshop:
Get Your Database Backed Up!
. . . . . . . . . . . . . . . . . . . . . . 261
A Note about Recoveries, the Recovery Catalog, and the MML Layer . . . . . . . . 268
Recovering the Control File from an Autobackup Using RMAN
RMAN Workshop:
Recover Your Control File
. . . . . . . . . . . . . . . . . . . . . . . . . . 279
Restore and Recover the Database in NOARCHIVELOG Mode . . . . . . . . . . . . . . . . . . 281
RMAN Workshop:
Recover Your NOARCHIVELOG Mode Database
. . . . . . . . 286
RMAN Workshop:
Complete Recovery of Your ARCHIVELOG
Loss of an Inactive Online Redo Log Group Member . . . . . . . . . . . . . . . . . . . . 294
Loss of an Inactive Online Redo Log Group . . . . . . . . . . . . . . . . . . . . . . . . . . . 295