Hi All,
I have taken rman backup on /u01 from primary database.
Now i want to clone this database on a different host.
I have copied the above backup to /u02 on the new host.
Now, to which rman repository should i catalog the backup copy on /u02 and also, while i create the duplicate database on new host, should i connect to rman catalog having the backup info on /u01.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Hi
I went through the doc in the link you provided, and found the below.
"Also, you must have RMAN backups of all datafiles available and a control file backup that is usable as a standby control file, and those backups must be accessible by the standby instance under the same name".
My issue is, i dont have the same directory structure on new host for storing the backup and restoring the datafiles.
On the source database, my backup is on /u01 and on the new host it is copied to /u02.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Thanks a lot for the response.
But, my question is not about restoring the the datafiles into a different directory structure. Its about my current backup location.
On the primary database backup is on /u01, but on the new host its copied on /u02. So, if i need to restore this backup from /u02 using RMAN, this has to be cataloged into rman repository. Hence, i wanted to know, if i should catalog this in the rman repository on new host or the primary host.
Also, during restore operation on the new host, should i connect to rman reposritory have backup info on /u01.
If you run rman and connect to the catalog and try to clone rman will look for the directory where it thinks the correct backup is. You can also do the restore and recovery without the catalog just run rman and connect to the instance that you are cloning to. You will need to have the control files in place and the database mounted. Then you can restore the database.
Code:
RUN {
ALLOCATE CHANNEL C1 DEVICE TYPE
DISK format '/oracle/rman/mydb/bck_20100323';
RESTORE DATABASE;
RECOVER DATABASE;
}
Bookmarks