Skip Headers

Oracle9i Recovery Manager Reference
Release 2 (9.2)

Part Number A96565-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

RMAN Commands , 11 of 59


CATALOG

Syntax

Text description of cataloga.gif follows
Text description of the illustration cataloga.gif


Purpose

Use the CATALOG command to:

Restrictions and Usage Notes

You cannot use CATALOG to perform the following operations:

Keywords and Parameters

Syntax Element Description

CONTROLFILECOPY 'filename'

Specifies the filename of a control file copy to be added to or updated in the recovery catalog and control file. The control file copy can be:

  • A copy of a normal control file (that is, not a standby control file) created with the RMAN command COPY CURRENT CONTROLFILE command or the SQL statement ALTER DATABASE CREATE CONTROLFILE
  • A standby control file copy created with the RMAN command COPY STANDBY CONTROLFILE or the SQL statement ALTER DATABASE CREATE STANDBY CONTROLFILE

DATAFILECOPY 'filename'

Specifies the filename of a datafile copy to be added to or updated in the recovery catalog and control file.

ARCHIVELOG 'filename'

Specifies the filename of an archived log to be added to or updated in the recovery catalog and control file.

TAG = tag_name

Specifies the tag that will be assigned to this copy in the control file and recovery catalog, for example, SUNDAY_PM_BACKUP. Note that tag names are not case sensitive.

LEVEL = integer

Indicates that the file copy should be recorded as an incremental backup at the specified level. Only level 0 is supported. You can perform incremental backups by using a datafile copy as the base level 0 backup.

Examples

Cataloging an Archived Redo Log: Example

This example assumes that you made operating system copies of archived logs or transferred them from another location, and then added them to the RMAN repository:

CATALOG ARCHIVELOG '?/oradata/archive1_30.dbf', '?/oradata/archive1_31.dbf', 
                   '?/oradata/archive1_32.dbf';
Cataloging a File Copy as an Incremental Backup: Example

The following example catalogs datafile copy users01.bak as an incremental level 0 backup:

CATALOG DATAFILECOPY '?/oradata/users01.bak' LEVEL 0;

Note that you can create datafile copies both with the RMAN COPY command and by using operating system utilities in conjunction with ALTER TABLESPACE BEGIN/END BACKUP.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback