.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Recovery from online backup

Recovery from online backup

2006-04-26       - By Alessandro Vercelli
Reply:     <<     11     12     13  

Hi all,
I finally succeeded in restoring a whole db without any evident loss of data.

Below, some more comments, questions/doubts:

>  
>
>
> 3- Restore datafiles:
>
>        DO NOT RESTORE ONLINE LOGS FROM BACKUP!!!!

I restored the current online log because I needed to use it after the last
archivelog during recovery

>
>        DO NOT ERASE CURRENT ONLINE LOGS (if we have it)

I needed to simulate a complete loss and restore of db, so I backed up, deleted
and restore all the redologs (with the rest of datafiles), but , as said above,
I had any problem during recovery

>  
>
> SQL> CREATE CONTROLFILE REUSE DATABASE "XXXX" RESETLOGS  ARCHIVELOG
>
...............  
>
> If we have current ONLINE LOGS (NOT BACKED UP CONTROLFILES) we can use
NORESETLOGS

I could not use NORESETLOGS (ORA-01588 (See ORA-01588.ora-code.com): must use RESETLOGS option for database
open): is this a consequence of restoring the online log?
If yes, which is the difference between "not erasing" and "copying and
restoring" if the all datafiles and controlfiles are lost?

>
>  
>  
>
> We will press RETURN UNTIL it ask for archivelog that don?t exist then we
will pass ONLINE LOG path and file names.

Worked fine!

>
>
> 9- SQL> ALTER DATABASE OPEN RESETLOGS;
>
> If we used NORESETLOGS before then ?alter database open Noresetlogs?

I had to use RESETLOGS (see above).

>
>
> -- --Mensaje original-- --

> To: Oracle-L
>
> Subject: RE: Recovery from online backup
>
>
> The backup script contained the command:
>
>
> alter database backup controlfile to '<destination_path/file>'
>
>  
>
> I tried to copy the controlfile from the <destination_path/file> to the
>
> original location, but still the database cannot mount (ORA-00205 (See ORA-00205.ora-code.com)).
>
>
> Is document id 94114.1 correct or some more steps needed to be performed?
>


Thanks for your help,

Alessandro

--
http://www.freelists.org/webpage/oracle-l