Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Restore SPFILE failed
On Oct 18, 5:28 pm, Jerome Vitalis
<vitalismanN05..._at_gmail.com.invalid> wrote:
> On Thu, 18 Oct 2007 20:39:15 +0000, jackzhunj wrote:
> > RMAN> restore spfile to '/tmp/test' from autobackup;
>
> > Starting restore at 18-OCT-07
> > allocated channel: ORA_DISK_1
> > channel ORA_DISK_1: sid=36 devtype=DISK
>
> > autobackup search outside recovery area not attempted because DBID was
> > not set
>
> You haven't set the DBID this time. Could you try again with the DBID set?
>
> But it does not seem to be the real cause of the problem. Please post the
> result of "show all;" after opening the database.
Yes, I did. The following is after 'startup nomount' w/o spfile of course.
RMAN> set DBID 2419013957;
executing command: SET DBID
RMAN> set CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/ oracle_misc/testdb/recovery/TESTDB/autobackup/2007_10_19/%F';
executing command: SET CONTROLFILE AUTOBACKUP FORMAT using target database control file instead of recovery catalog
RMAN> restore spfile from autobackup;
Starting restore at 19-OCT-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=39 devtype=DISK
channel ORA_DISK_1: looking for autobackup on day: 20071019 channel ORA_DISK_1: looking for autobackup on day: 20071018 channel ORA_DISK_1: looking for autobackup on day: 20071017 channel ORA_DISK_1: looking for autobackup on day: 20071016 channel ORA_DISK_1: looking for autobackup on day: 20071015 channel ORA_DISK_1: looking for autobackup on day: 20071014 channel ORA_DISK_1: looking for autobackup on day: 20071013 channel ORA_DISK_1: no autobackup in 7 days foundRMAN-00571:
RMAN> restore spfile from '/oracle_misc/testdb/recovery/TESTDB/ autobackup/2007_10_19/o1_mf_s_636353416_3kjvy8d0_.bkp';
Starting restore at 19-OCT-07
using channel ORA_DISK_1
channel ORA_DISK_1: autobackup found: /oracle_misc/testdb/recovery/ TESTDB/autobackup/2007_10_19/o1_mf_s_636353416_3kjvy8d0_.bkp channel ORA_DISK_1: SPFILE restore from autobackup complete Finished restore at 19-OCT-07
thnx a lot. Received on Fri Oct 19 2007 - 08:40:20 CDT