Databases Reference
In-Depth Information
The files you want to catalog can exist only on disk and not on tape, and they must belong to one of the
following types:
Data file copy
Control file copy
Archived redo log
Backup piece
Cataloging a Data File Copy as an Incremental Backup
You can use the catalog command to catalog a data file copy that you want to use as a level 0 incremental backup.
Simply add level 0 to the catalog datafilecopy command, as shown here:
RMAN> catalog datafilecopy '?/oradata/users01.bak' level 0;
Once you catalog a data file copy as a level 0 backup, you can then perform an incremental backup by using that
copy as your base.
Cataloging Sets of Files
If you have a whole bunch of files you need to record in the recovery catalog, you can save time and effort by using the
catalog start with command. After the keywords catalog start with , you specify a string pattern. The command
catalogs all valid backup sets, data file copies, archived redo logs, and control file copies whose names start with the
string pattern you specify. The string pattern can refer to an OMF directory, an ASM disk group, or part of a file name.
RMAN will automatically catalog all the backups found in the locations that match the string pattern that follows
the catalog start with command. For example, to catalog all files in the /disk1/arch_logs directory, use this:
RMAN> catalog start with '/disk1/arch_logs/';
In this case, the catalog start with command will catalog an entire directory of archived redo logs. By default,
RMAN will prompt you after each match to verify that you want the item to be cataloged. You can skip this prompting
by using the additional keyword noprompt , as shown here:
RMAN> catalog start with '/disk1/arch_logs/' noprompt;
Remember that while the “catalog” commands shown here are useful if you know the backup files that you are
missing, a full resyncing of the catalog will also achieve the same purpose.
Tip
you can't use the catalog command to add backup pieces and images that are on a tape (sBt) device.
 
 
Search WWH ::




Custom Search