Recovery Manager(RMAN) is an Oracle Database client that performs backup and recovery tasks on your databases and automates administration of your backup strategies.
It greatly simplifies backing up,restoring and recovering database files.
If you have backup files in non-FRA location , you can catalog your backup using catalog start with command of RMAN.
Note : All backup pieces should be under one common location .
Login to rman :
C:\Windows\system32>rman target sys/oracle Recovery Manager: Release 11.2.0.4.0 - Production on Fri Dec 8 20:00:42 2017 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: DBTEST (DBID=1353774893, not open)
Check backup available to rman using list backup :
RMAN> list backup; using target database control file instead of recovery catalog specification does not match any backup in the repository RMAN>
we can see here , no backups are available to rman but I have physical backup available in d:\oracle\backup\DBTEST\ folder.
So using catalog start with command we can catalog that files to rman.
RMAN> catalog start with 'd:\oracle\backup\DBTEST\'; searching for all files that match the pattern d:\oracle\backup\DBTEST\ List of Files Unknown to the Database ===================================== File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_11_24\O1_MF_S_960913571_F1HYPDOZ_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_11_24\O1_MF_S_960916783_F1J1TTCV_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_12_08\O1_MF_S_962220655_F2O6RSGH_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\BACKUPSET\2017_11_24\O1_MF_NNNDF_TAG20171124T162515_F1HYNNBX_.BKP Do you really want to catalog the above files (enter YES or NO)? Enter yes or use catalog start with 'd:\oracle\backup\DBTEST\
If you don’t want to get prompt for each file use noprompt
RMAN> catalog start with 'd:\oracle\backup\DBTEST\' noprompt; using target database control file instead of recovery catalog searching for all files that match the pattern d:\oracle\backup\DBTEST\ List of Files Unknown to the Database ===================================== File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_11_24\O1_MF_S_960913571_F1HYPDOZ_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_11_24\O1_MF_S_960916783_F1J1TTCV_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_12_08\O1_MF_S_962220655_F2O6RSGH_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\BACKUPSET\2017_11_24\O1_MF_NNNDF_TAG20171124T162515_F1HYNNBX_.BKP cataloging files... cataloging done List of Cataloged Files ======================= File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_11_24\O1_MF_S_960913571_F1HYPDOZ_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_11_24\O1_MF_S_960916783_F1J1TTCV_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\AUTOBACKUP\2017_12_08\O1_MF_S_962220655_F2O6RSGH_.BKP File Name: D:\ORACLE\BACKUP\DBTEST\BACKUPSET\2017_11_24\O1_MF_NNNDF_TAG20171124T162515_F1HYNNBX_.BKP RMAN>
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/
Joel Perez’s LinkedIn: Joel Perez’s Profile
Anuradha’s LinkedIn: Anuradha’s Profile
LinkedIn Group: Oracle Cloud DBAAS
Facebook Page: OracleHelp
Pingback: How to use Catalog start with command - SSWUG.ORG