RMAN “Catalog start with” returns “no files found to be unknown to the database”
Error:
While using “CATALOG START WITH” command in RMAN I received “no files found to be unknown to the database”. Although I was having all backups under /orabackup folder, RMAN didn’t find anything.
RMAN> catalog start with ‘/orabackup’;
searching for all files that match the pattern /orabackup
no files found to be unknown to the database
Solution:
Create a folder under the /orabackup folder, moved all files in it and then run “CATALOG START WITH” command again.
[oracle@funebs122 ~]$ cd /orabackup/
[oracle@funebs122 orabackup]$ mkdir pices
[oracle@funebs122 orabackup]$ mv *.bkp pices/
RMAN> catalog start with ‘/orabackup/pices’;
searching for all files that match the pattern /orabackup/pices
List of Files Unknown to the Database
=====================================
File Name: /orabackup/pices/bee_database_ftqqatr2_1_1.bkp
File Name: /orabackup/pices/bee_database_fsqqakoq_1_1.bkp
File Name: /orabackup/pices/bee_arch_fuqqatrp_1_1.bkp
File Name: /orabackup/pices/bee_contolfile_fvqqatsc_1_1.bkp
File Name: /orabackup/pices/bee_spfile_c0qqatsk_1_1.bkp
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files…
cataloging done
List of Cataloged Files
=======================
File Name: /orabackup/pices/bee_database_ftqqatr2_1_1.bkp
File Name: /orabackup/pices/bee_database_fsqqakoq_1_1.bkp
File Name: /orabackup/pices/bee_arch_fuqqatrp_1_1.bkp
File Name: /orabackup/pices/bee_contolfile_fvqqatsc_1_1.bkp
File Name: /orabackup/pices/bee_spfile_c0qqatsk_1_1.bkp
Post a Comment
Post a Comment