Oracle Restore Using RMAN With Avamar
Oracle Restore Using RMAN With Avamar
Oracle Restore Using RMAN With Avamar
1
All this process was made for Windows (different versions) and Oracle 9i and 10g
Please notice that the MAXSEQ=# it has to be the same number that it is on CONTROLFILE.c.121212-20090802-0#) and the date is the same day that you want the restore from. 4. Exit the RMAN prompt. Oracle 9i: (RESTORING DATABASE) 1. Connect to RMAN 2. When you did run the list backup (last line in RESTORING CONROLFILE) you will get the scn number for the last backup you perform. (EJ: 111111) 3. Take as example the following script:
run { allocate channel c1 type sbt PARMS="SBT_LIBRARY=C:\PROGRA~1\avs\bin\LIBOBK~1.DLL" format '%d_%U'; send '"--prefix=TTTT/" "--flagfile=C:\Program Files\avs\avtar-flag.txt"'; set until scn 11111; restore database; recover database; } alter database open resetlogs;
Oracle 10g: (RESTORING CONTROLFILE) 1. The difference with Oracle 9i is that you DONT have to run the list backup of database; in this step, you have to exit from RMAN promt and run the list backup of database; after login to RMAN in next step. Oracle 10g: (RESTORING DATABASE) 1. Connect to RMAN 2. Run: list backup of database; 3. Continue as in Oracle 9i step 2.
Error restoring ORACLE 10g to the same location using AVAMAR GUI. When performing a restore with Oracle 10g, using Avamar Gui I found that it was giving me an error when listing the backups (RMAN error), I realize that Avamar run the restore in 2 spets (restore of controlfile and restore of database) please refer to this restores using RMAN script and thats the error that Avamar have, it try to list the backup of database in the first step and it has to be in the second setp.