Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: [ORA10g] Problems with Restore/recover
Volker Zink wrote:
> I am currently configuring an Oracle10 database so our application
> does work under Oracle 10. So i did configure archiving and rman. I
> want to mention here that i did configure rman to use the flashback
> area. I did a online backup. All worked. Now i want to test
> recover/restore and just moved the datafiles away. Reading the
> Oracle-documentation on this (Whole Database Restore and Recovery):
>
>
>>To restore and recover the database when the current control file is available: >>1. After connecting to the target database, make sure the database is mounted.
>>RMAN> SET DBID 320066378; >>RMAN> RUN { >>SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
>>RESTORE CONTROLFILE FROM AUTOBACKUP; >>}
RMAN always connects as sysdba. So something with your connect string
must be wrong. Assuming that you
- set ORACLE_SID to the appropriate value
- set your default Home to your Oracle 10g Home(which is normally done automatically
during install if it was the most recently installed version) - are using an OS Account that is a member of the ORA_DBA group (the one you
used for installing Oracle)
then your connect string boils down to
rman target /
Now maybe your instance is shutdown, so an startup nomount might be required. On windows you also have to make sure first that the service named OracleService<SID> is up and running.
From now on, continue reading the documentation (which is very commendable that you actually did it before asking :-) ) and perform the listed steps.
I can't tell if you missed something more important, because sofar i did not test this particular scenario with 10g, but if rman tells me I'm not connected, I'd concentrate on connecting properly.
HTH Holger Received on Wed Oct 13 2004 - 02:32:34 CDT