Oracle8i Recovery Manager User's Guide and Reference Release 2 (8.1.6) Part Number A76990-01 |
|
Recovery Manager Command Syntax, 7 of 50
Use the catalog command to:
RMAN treats all such operating system backups as datafile copies.
You cannot use catalog to perform the following operations:
This statement catalogs the archived redo logs log1
, log2
, and log3
:
catalog archivelog 'log1', 'log2', 'log3';
The following example catalogs datafile copy tbs_2.c
as an incremental level 0 backup:
catalog datafile '/oracle/copy/tbs_2.c' level 0;
The following makes an operating system copy of a datafile using the RMAN host command and then catalogs the copy (sample output included):
host 'cp $ORACLE_HOME/dbs/sales.f $ORACLE_HOME/dbs/sales.bak'; catalog datafilecopy '$ORACLE_HOME/dbs/sales.bak'; RMAN-03022: compiling command: catalog RMAN-03023: executing command: catalog RMAN-08050: cataloged datafile copy RMAN-08513: datafile copy filename=/oracle/dbs/sales.bak recid=121 stamp=342972501 RMAN-03023: executing command: partial resync RMAN-08003: starting partial resync of recovery catalog RMAN-08005: partial resync complete
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|