You are connected to a recovery catalog and target database. You execute the command:
RMAN> CATALOG START WITH ‘/disk1/backups’;
Which statement is true?
A.
Only valid data file copies, existing in the /disk1/backups directory, are cataloged.
B.
Only valid backup pieces and archived logs, existing in the /disk1/backups directory, are cataloged.
C.
It lists all data file copies, backup pieces, and achieved logs cataloged in the recovery catalog in the /
disk1/backups directory and its subdirectories.
D.
It lists and catalogs all valid data file copies, backup pieces, and archived logs that exist in all directory paths
with the prefix /disk1/backups and their subdirectories.
Explanation:
If you have data file copies, backup pieces, or archived logs on disk, then you can catalog them in the recovery catalog with the CATALOG command.
The following command catalogs all files in all of these directories, because /disk1/backups is a prefix for the paths for all of these directories:
CATALOG START WITH ‘/disk1/backups’;
To catalog only backups in the /disk1/backups directory, the correct command is as follows:
CATALOG START WITH ‘/disk1/backups/’;
References: https://docs.oracle.com/database/121/BRADV/rcmcatdb.htm
D