{"id":592,"date":"2024-04-04T11:44:51","date_gmt":"2024-04-04T11:44:51","guid":{"rendered":"https:\/\/maboc.nl\/?p=592"},"modified":"2024-04-04T11:44:51","modified_gmt":"2024-04-04T11:44:51","slug":"recovering-a-database-further-then-the-last-backupped-controlfile","status":"publish","type":"post","link":"https:\/\/maboc.nl\/?p=592","title":{"rendered":"Recovering a database further then the last backupped controlfile"},"content":{"rendered":"<p>A question on forums.oracle.com asked: can we recover a database further in time then the time of backup of the last controlfile. Nice question&#8230;my gut feeling immediately says : YES we can. But&#8230;I do not have a proof of it, and one quick search on the internet did not supply a adequate answer. So&#8230;then I have to demonstrate it myself.<\/p>\n<p>Plan of attack:<\/p>\n<ol>\n<li>Preparation\n<ol>\n<li>Create backup\n<ol>\n<li>datafiles<\/li>\n<li>archives<\/li>\n<li>control- and spfile autobackup<\/li>\n<\/ol>\n<\/li>\n<li>Create some more archives\n<ol>\n<li>these archives are not known to the allready backedup controlfile (step 1.1.3)<\/li>\n<li>These archives are still on disk. They are not in the backup. (If they would be in a backup you could easily restore them :-))<\/li>\n<li>Check which sequence is the last sequence generated<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>Restore\/recover\n<ol>\n<li>get the old controlfile back\n<ol>\n<li>startup noumount<\/li>\n<li>restore controlefile from backupfile<\/li>\n<\/ol>\n<\/li>\n<li>restart the database in mount mode\n<ol>\n<li>restore the database<\/li>\n<\/ol>\n<\/li>\n<li>Recover the database until the last generated archivelog<\/li>\n<li>alter database open resetlog<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Let&#8217;s see how that works:<\/p>\n<p><strong>Preparation: Backing up the database<\/strong><\/p>\n<pre><span style=\"font-size: 8pt;\">RMAN&gt; backup database plus archivelog delete input;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting backup at 2024\/04\/04 13:13:49<\/span>\r\n<span style=\"font-size: 8pt;\">current log archived<\/span>\r\n<span style=\"font-size: 8pt;\">using channel ORA_DISK_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting archived log backup set<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: specifying archived log(s) in backup set<\/span>\r\n<span style=\"font-size: 8pt;\">input archived log thread=1 sequence=4 RECID=3 STAMP=1165410707<\/span>\r\n<span style=\"font-size: 8pt;\">...\r\n...<\/span>\r\n<span style=\"font-size: 8pt;\">input archived log thread=1 sequence=15 RECID=14 STAMP=1165410739<\/span>\r\n<span style=\"font-size: 8pt;\">input archived log thread=1 sequence=16 RECID=15 STAMP=1165410832<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting piece 1 at 2024\/04\/04 13:13:52<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: finished piece 1 at 2024\/04\/04 13:13:53<\/span>\r\n<span style=\"font-size: 8pt;\">piece handle=\/u04\/bloemkool.bos\/backup\/072ndggg_7_1_1 tag=TAG20240404T131352 comment=NONE<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: deleting archived log(s)<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_4_1165409047.dbf RECID=3 STAMP=1165410707<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_5_1165409047.dbf RECID=4 STAMP=1165410708<\/span>\r\n<span style=\"font-size: 8pt;\">...\r\n...<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_15_1165409047.dbf RECID=14 STAMP=1165410739<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_16_1165409047.dbf RECID=15 STAMP=1165410832<\/span>\r\n<span style=\"font-size: 8pt;\">Finished backup at 2024\/04\/04 13:13:53<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting backup at 2024\/04\/04 13:13:53<\/span>\r\n<span style=\"font-size: 8pt;\">using channel ORA_DISK_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting full datafile backup set<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: specifying datafile(s) in backup set<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00001 name=\/u02\/oradata\/LIES\/datafile\/o1_mf_system_m0x0zlqp_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">...\r\n...<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00007 name=\/u02\/oradata\/LIES\/datafile\/o1_mf_users_m0x10vyd_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting piece 1 at 2024\/04\/04 13:13:53<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: finished piece 1 at 2024\/04\/04 13:16:38<\/span>\r\n<span style=\"font-size: 8pt;\">piece handle=\/u04\/bloemkool.bos\/backup\/082ndggh_8_1_1 tag=TAG20240404T131353 comment=NONE<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: backup set complete, elapsed time: 00:02:45<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting full datafile backup set<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: specifying datafile(s) in backup set<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00010 name=\/u02\/oradata\/LIES\/154444752F0C4E6CE0630203A8C0091D\/datafile\/o1_mf_sysaux_m0x253w6_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">...\r\n...<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00012 name=\/u02\/oradata\/LIES\/154444752F0C4E6CE0630203A8C0091D\/datafile\/o1_mf_users_m0x25qqk_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting piece 1 at 2024\/04\/04 13:16:38<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: finished piece 1 at 2024\/04\/04 13:17:33<\/span>\r\n<span style=\"font-size: 8pt;\">piece handle=\/u04\/bloemkool.bos\/backup\/092ndglm_9_1_1 tag=TAG20240404T131353 comment=NONE<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting full datafile backup set<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: specifying datafile(s) in backup set<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00006 name=\/u02\/oradata\/LIES\/datafile\/o1_mf_sysaux_m0x17jvv_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00005 name=\/u02\/oradata\/LIES\/datafile\/o1_mf_system_m0x17jvq_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">input datafile file number=00008 name=\/u02\/oradata\/LIES\/datafile\/o1_mf_undotbs1_m0x17jvx_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting piece 1 at 2024\/04\/04 13:17:33<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: finished piece 1 at 2024\/04\/04 13:18:28<\/span>\r\n<span style=\"font-size: 8pt;\">piece handle=\/u04\/bloemkool.bos\/backup\/0a2ndgnd_10_1_1 tag=TAG20240404T131353 comment=NONE<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55<\/span>\r\n<span style=\"font-size: 8pt;\">Finished backup at 2024\/04\/04 13:18:28<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting backup at 2024\/04\/04 13:18:28<\/span>\r\n<span style=\"font-size: 8pt;\">current log archived<\/span>\r\n<span style=\"font-size: 8pt;\">using channel ORA_DISK_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting archived log backup set<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: specifying archived log(s) in backup set<\/span>\r\n<span style=\"font-size: 8pt;\">input archived log thread=1 sequence=17 RECID=16 STAMP=1165411109<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting piece 1 at 2024\/04\/04 13:18:29<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: finished piece 1 at 2024\/04\/04 13:18:30<\/span>\r\n<span style=\"font-size: 8pt;\">piece handle=\/u04\/bloemkool.bos\/backup\/0b2ndgp5_11_1_1 tag=TAG20240404T131829 comment=NONE<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: deleting archived log(s)<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_17_1165409047.dbf RECID=16 STAMP=1165411109<\/span>\r\n<span style=\"font-size: 8pt;\">Finished backup at 2024\/04\/04 13:18:30<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting Control File and SPFILE Autobackup at 2024\/04\/04 13:18:30<\/span>\r\n<span style=\"font-size: 8pt;\">piece handle=\/u04\/bloemkool.bos\/backup\/c-2295896278-20240404-01 comment=NONE<\/span>\r\n<span style=\"font-size: 8pt;\">Finished Control File and SPFILE Autobackup at 2024\/04\/04 13:18:33<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span><\/pre>\n<p><strong>Create some more\u00a0 archivelogs (wich will not be backed up)<\/strong><\/p>\n<pre><span style=\"font-size: 8pt;\">RMAN&gt; alter system switch logfile;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Statement processed<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; alter system switch logfile;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Statement processed<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; alter system switch logfile;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Statement processed<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Check which archivelogs are not backupped<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; list archivelog all;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">List of Archived Log Copies for database with db_unique_name LIES<\/span>\r\n<span style=\"font-size: 8pt;\">=====================================================================<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Key Thrd Seq S Low Time<\/span>\r\n<span style=\"font-size: 8pt;\">------- ---- ------- - -------------------<\/span>\r\n<span style=\"font-size: 8pt;\">17 1 18 A 2024\/04\/04 13:18:28<\/span>\r\n<span style=\"font-size: 8pt;\">Name: \/u03\/LIES\/archivelog\/1_18_1165409047.dbf<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">...<\/span>\r\n<span style=\"font-size: 8pt;\">...<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">29 1 30 A 2024\/04\/04 13:28:23<\/span>\r\n<span style=\"font-size: 8pt;\">Name: \/u03\/LIES\/archivelog\/1_30_1165409047.dbf<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span><\/pre>\n<p>As you can see : tha last created archivelog (which is still on disk) is sequence 30.<\/p>\n<p><strong>Restore the (old) Controlfile<\/strong><\/p>\n<pre><span style=\"font-size: 8pt;\">RMAN&gt; shutdown immediate;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">database closed<\/span>\r\n<span style=\"font-size: 8pt;\">database dismounted<\/span>\r\n<span style=\"font-size: 8pt;\">Oracle instance shut down<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; startup nomount;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">connected to target database (not started)<\/span>\r\n<span style=\"font-size: 8pt;\">Oracle instance started<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Total System Global Area 3221225344 bytes<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Fixed Size 9691008 bytes<\/span>\r\n<span style=\"font-size: 8pt;\">Variable Size 654311424 bytes<\/span>\r\n<span style=\"font-size: 8pt;\">Database Buffers 2550136832 bytes<\/span>\r\n<span style=\"font-size: 8pt;\">Redo Buffers 7086080 bytes<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; restore controlfile from '\/u04\/bloemkool.bos\/backup\/c-2295896278-20240404-01';<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting restore at 2024\/04\/04 13:33:49<\/span>\r\n<span style=\"font-size: 8pt;\">allocated channel: ORA_DISK_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: SID=28 device type=DISK<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restoring control file<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restore complete, elapsed time: 00:00:03<\/span>\r\n<span style=\"font-size: 8pt;\">output file name=\/u03\/LIES\/controlfile\/o1_mf_m0wy0s3s_.ctl<\/span>\r\n<span style=\"font-size: 8pt;\">Finished restore at 2024\/04\/04 13:33:52<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span><\/pre>\n<p><strong>Restore the database<\/strong><\/p>\n<pre><span style=\"font-size: 8pt;\">RMAN&gt; shutdown immediate;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Oracle instance shut down<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; startup mount;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">connected to target database (not started)<\/span>\r\n<span style=\"font-size: 8pt;\">Oracle instance started<\/span>\r\n<span style=\"font-size: 8pt;\">database mounted<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Total System Global Area 3221225344 bytes<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Fixed Size 9691008 bytes<\/span>\r\n<span style=\"font-size: 8pt;\">Variable Size 654311424 bytes<\/span>\r\n<span style=\"font-size: 8pt;\">Database Buffers 2550136832 bytes<\/span>\r\n<span style=\"font-size: 8pt;\">Redo Buffers 7086080 bytes<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt; restore database;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting restore at 2024\/04\/04 13:34:36<\/span>\r\n<span style=\"font-size: 8pt;\">allocated channel: ORA_DISK_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: SID=31 device type=DISK<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">skipping datafile 5; already restored to file \/u02\/oradata\/LIES\/datafile\/o1_mf_system_m0x17jvq_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">skipping datafile 6; already restored to file \/u02\/oradata\/LIES\/datafile\/o1_mf_sysaux_m0x17jvv_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">skipping datafile 8; already restored to file \/u02\/oradata\/LIES\/datafile\/o1_mf_undotbs1_m0x17jvx_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">skipping datafile 9; already restored to file \/u02\/oradata\/LIES\/154444752F0C4E6CE0630203A8C0091D\/datafile\/o1_mf_system_m0x253w1_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">skipping datafile 10; already restored to file \/u02\/oradata\/LIES\/154444752F0C4E6CE0630203A8C0091D\/datafile\/o1_mf_sysaux_m0x253w6_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">skipping datafile 11; already restored to file \/u02\/oradata\/LIES\/154444752F0C4E6CE0630203A8C0091D\/datafile\/o1_mf_undotbs1_m0x253w6_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">skipping datafile 12; already restored to file \/u02\/oradata\/LIES\/154444752F0C4E6CE0630203A8C0091D\/datafile\/o1_mf_users_m0x25qqk_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting datafile backup set restore<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: specifying datafile(s) to restore from backup set<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restoring datafile 00001 to \/u02\/oradata\/LIES\/datafile\/o1_mf_system_m0x0zlqp_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restoring datafile 00003 to \/u02\/oradata\/LIES\/datafile\/o1_mf_sysaux_m0x10ct0_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restoring datafile 00004 to \/u02\/oradata\/LIES\/datafile\/o1_mf_undotbs1_m0x10tw5_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restoring datafile 00007 to \/u02\/oradata\/LIES\/datafile\/o1_mf_users_m0x10vyd_.dbf<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: reading from backup piece \/u04\/bloemkool.bos\/backup\/082ndggh_8_1_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: piece handle=\/u04\/bloemkool.bos\/backup\/082ndggh_8_1_1 tag=TAG20240404T131353<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restored backup piece 1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restore complete, elapsed time: 00:02:36<\/span>\r\n<span style=\"font-size: 8pt;\">Finished restore at 2024\/04\/04 13:37:12<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span><\/pre>\n<p><strong>Recover the database (until sequence 31)<\/strong><\/p>\n<pre><span style=\"font-size: 8pt;\">RMAN&gt; recover database until sequence 31;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Starting recover at 2024\/04\/04 13:38:09<\/span>\r\n<span style=\"font-size: 8pt;\">using channel ORA_DISK_1<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">starting media recovery<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">archived log for thread 1 with sequence 29 is already on disk as file \/u03\/LIES\/onlinelog\/o1_mf_2_m0x13q8r_.log<\/span>\r\n<span style=\"font-size: 8pt;\">archived log for thread 1 with sequence 30 is already on disk as file \/u03\/LIES\/onlinelog\/o1_mf_3_m0x13q9p_.log<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: starting archived log restore to default destination<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restoring archived log<\/span>\r\n<span style=\"font-size: 8pt;\">archived log thread=1 sequence=17<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: reading from backup piece \/u04\/bloemkool.bos\/backup\/0b2ndgp5_11_1_1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: piece handle=\/u04\/bloemkool.bos\/backup\/0b2ndgp5_11_1_1 tag=TAG20240404T131829<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restored backup piece 1<\/span>\r\n<span style=\"font-size: 8pt;\">channel ORA_DISK_1: restore complete, elapsed time: 00:00:01<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_17_1165409047.dbf thread=1 sequence=17<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_18_1165409047.dbf thread=1 sequence=18<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_19_1165409047.dbf thread=1 sequence=19<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_20_1165409047.dbf thread=1 sequence=20<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_21_1165409047.dbf thread=1 sequence=21<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_22_1165409047.dbf thread=1 sequence=22<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_23_1165409047.dbf thread=1 sequence=23<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_24_1165409047.dbf thread=1 sequence=24<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_25_1165409047.dbf thread=1 sequence=25<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_26_1165409047.dbf thread=1 sequence=26<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_27_1165409047.dbf thread=1 sequence=27<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/archivelog\/1_28_1165409047.dbf thread=1 sequence=28<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/onlinelog\/o1_mf_2_m0x13q8r_.log thread=1 sequence=29<\/span>\r\n<span style=\"font-size: 8pt;\">archived log file name=\/u03\/LIES\/onlinelog\/o1_mf_3_m0x13q9p_.log thread=1 sequence=30<\/span>\r\n<span style=\"font-size: 8pt;\">media recovery complete, elapsed time: 00:00:02<\/span>\r\n<span style=\"font-size: 8pt;\">Finished recover at 2024\/04\/04 13:38:12<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span><\/pre>\n<p><strong>Alter database open resetlogs<\/strong><\/p>\n<pre><span style=\"font-size: 8pt;\">RMAN&gt; alter database open resetlogs;<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">Statement processed<\/span>\r\n\r\n<span style=\"font-size: 8pt;\">RMAN&gt;<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>So&#8230;I say&#8230;yes we can recover past the time of backup of the controlfile \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A question on forums.oracle.com asked: can we recover a database further in time then the time of backup of the last controlfile. Nice question&#8230;my gut feeling immediately says : YES we can. But&#8230;I do not have a proof of it, and one quick search on the internet did not supply a adequate answer. So&#8230;then I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[78,5,20],"tags":[21,24,26],"class_list":["post-592","post","type-post","status-publish","format-standard","hentry","category-backup","category-oracle","category-rman","tag-backup","tag-oracle","tag-rman"],"_links":{"self":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=592"}],"version-history":[{"count":4,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/592\/revisions"}],"predecessor-version":[{"id":596,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/592\/revisions\/596"}],"wp:attachment":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}