recover database until time - doesn't recover as expected
wizurdAug 16 2010 — edited Aug 16 2010Hi,
We've got an Oracle 9i db (9208) running on AIX.
We've had a problem and that has meant restoring all the dbf's and control files from the over night backup onto the server replacing the currently corrupted system.
Once this was done we then opened the DB in order to check some things.
Once this was done we then closed and mounted it and issued the "recover database until time .... " command.
The archive logs we need are in the default archive location. They cover the time period just prior to the restored files up until the time we need the DB recovered to.
However, when running the recover the alert log just shows
"ALTER DATABASE RECOVER database until time '2010-08-11:16:30:00'
Mon Aug 16 14:33:57 2010
Media Recovery Start
Media Recovery Not Required"
Can anyone tell us why the recover command isn't recovering the archive log files up until the time we are specifying. It doesn't look like its even looking at them.
The command executes in less than a second.
Is this because we opened the DB between restoring and recovering so its already written a newer archive log file, so the DB thinks its already up to date???