Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RMAN question....
List,
When I got into work this morning I noticed u01 was nearly full on out production OLTP machine. I found the files and the looked to be RMAN files. They were all in '$ORACLE_HOME/dbs/.' My first thought was that they were the snapshot controlfiles. ....but aren't those automatically deleted? I double checked the RMAN scripts I use to make sure nothing was explicitly written there. They weren't. So I deleted those files. I next ran the following on one of the databases:
RMAN> run {
2> allocate channel d1 type disk; 3> restore database validate; 4> }
that returned successfully. (whew)
then:
RMAN> run {
2> allocate channel d1 type disk; 3> restore controlfile validate; 4> } RMAN-03022: compiling command: allocate RMAN-03023: executing command: allocate
RMAN-03022: compiling command: restore RMAN-03025: performing implicit partial resync of recovery catalog RMAN-03023: executing command: partial resync RMAN-08003: starting partial resync of recovery catalog RMAN-08005: partial resync complete RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources RMAN-08031: released channel: d1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure during compilation of command RMAN-03013: command type: restore RMAN-03006: non-retryable error occurred during execution of command:IRESTORE
YIKES!! ....anybody have an idea why this would happen??
Here is the backup script that is used each night (it's the same for all 3 databases minus the changes is ORACLE_SID and sub-directories):
#!/bin/sh
export ORACLE_HOME=/u01/app/oracle/product/8.1.7
export ORACLE_SID=ASTU
export ARCH_DEST=/u01/app/oracle/admin/$ORACLE_SID/arch/
rm /oracle_backup/$ORACLE_SID/*
$ORACLE_HOME/bin/rman <<EOF
set dbid=1337318309
connect target
connect catalog rman_cat/disco_at_rep1.ruppman.com
run{
allocate channel d1 type disk;
backup database format '/oracle_backup/ASTU/%U'
(current controlfile);
}
sql "alter system switch logfile";
sql "alter system archive log all";
sql "alter database backup controlfile to trace";
sql "alter database backup controlfile to
''/oracle_backup/ASTU/astu_ctl''";
exit;
EOF
#
any and all help will be GREATLY appreciated. I won't be sleeping well until I know the backup process is truly ok.
Thanks
Chris
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Chris Stephens INET: ChrisStephens_at_affina.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Mon Mar 31 2003 - 15:53:49 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |