My backups are made in the flash recovery area.
I'm using an RMAN incrementally updated backup policy.
run
{
BACKUP INCREMENTAL LEVEL 1
FOR RECOVER OF COPY
WITH TAG 'DAILY' DATABASE;
RECOVER COPY OF DATABASE WITH TAG 'DAILY';
}
I backed up the FRA using a script like this:
run
{
allocate channel ch00 device type 'SBT_TAPE'
PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/oracle/FRA/)";
backup recovery area;
}
Then I want to restored the control file using this script :
run
{
allocate channel ch00 device type 'SBT_TAPE'
PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/oracle/FRA/)";
allocate channel CDISK DEVICE TYPE DISK;
restore controlfile from '/oracle/FRA/c-1862944626-20100616-00';
}
It went ok, but when I wanted to restore the database :
run
{
allocate channel ch00 device type sbt
PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/oracle/FRA)";
allocate channel CDISK DEVICE TYPE DISK;
restore database ;
}
I got the following error:
released channel: ch00
released channel: CDISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 06/17/2010 18:15:32
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
My question for experts:
1- How to restore the database from the FRA backup.
2- How to restore the FRA it Self from a backup made using the
SBT_LIBRARY=oracle.disksbt.
( I'm using this because I don't have a backup robot to test with SBT).
2- Ok, Do you know if we can do it from a real TAPE, I mean from a
real backup robot such :
- Restore the FRA first.
- Restore the database.
We're using FRA & incrementally updated backups to facilitate the
partial recovery of the database. no need to look for files in tapes.
And we try to avoid to launch two types of backups because there are
some night batches which take the whole night running.
Is there any other way to use the backup made in the FRA .
> --
> You received this message because you are subscribed to the Google Groups "ORACLE_DBA_EXPERTS" group.
> To post to this group, send email to oracle_db...@googlegroups.com.
> To unsubscribe from this group, send email to oracle_dba_expe...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/oracle_dba_experts?hl=en.
>
>
--
Amicalement
Kamal ELMAAZOUZ
Thank you for assist.