What command would you use to get those backup set piec…

You have lost all your RMAN backup set pieces due to a disk failure. Unfortunately, you have an automated
cross-check script that also does a delete expired backupset command. You have restored all the backup set
pieces from tape. What command would you use to get those backup set pieces registered in the recovery
catalog and the control file of the database again?

You have lost all your RMAN backup set pieces due to a disk failure. Unfortunately, you have an automated
cross-check script that also does a delete expired backupset command. You have restored all the backup set
pieces from tape. What command would you use to get those backup set pieces registered in the recovery
catalog and the control file of the database again?

A.
register database

B.
recover catalog

C.
load backupset

D.
synch metadata

E.
catalog start with

Explanation:

Use the CATALOG command to do the following:
Add backup pieces and image copies on disk to the RMAN repository
Record a data file copy as a level 0 incremental backup in the RMAN repository, which enables you to use it as
part of an incremental backup strategy START WITH ‘string_pattern’
Catalogs all valid backup sets, data file and control file copies, and archived redo log files whose name start
with string_pattern. The string pattern can be an ASM disk group, Oracle-managed files directory, or part of a
file name (see Example 2-32).
RMAN reports any files in the disk location that it cannot catalog. RMAN must be connected to a mounted
target database.
If the string pattern specifies a file name, then it matches the left part of the file name pattern. For example, /
tmp/arc matches everything in directory /tmp/arc_dest and /tmp/archive/january as well as file /tmp/arc.cpy.
Note: You cannot use wildcard characters in the string pattern, only a strict prefix.



Leave a Reply 0

Your email address will not be published. Required fields are marked *