原因:日志序号会被置位,以此防止后续日志被应用。resetlogs之前的备份将不能用于进行跨域resetlogs时间点的恢复。 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        在oracle数据库10g中,oracle允许跨越resetlogs时间点进行完全/不完全恢复。 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        本文将针对此特性介绍一个详细的参考示例: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        一、全备份数据库 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        $ rman target / 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Recovery Manager: Release 10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Copyright (c) 1995, 2004, oracle. All rights reserved. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        connected to target database: EYGLE (DBID=1337390772) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> backup database plus archivelog delete all input; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting backup at 2005-04-05 16:29:08 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        current log archived 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using target database controlfile instead of recovery catalog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        allocated channel: ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: sid=143 devtype=DISK 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting archive log backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying archive log(s) in backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input archive log thread=1 sequence=3 recid=294 stamp=554823466 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input archive log thread=1 sequence=4 recid=295 stamp=554828647 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input archive log thread=1 sequence=5 recid=297 stamp=554833749 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting piece 1 at 2005-04-05 16:29:16 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: finished piece 1 at 2005-04-05 16:29:19 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset/2005_04_05 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /o1_mf_annnn_TAG20050405T162914_154m2woc_.bkp comment=NONE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: deleting archive log(s) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /archivelog/2005_04_05 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /o1_mf_1_3_154919qm_.arc recid=294 stamp=554823466 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /flash_recovery_area/EYGLE/archivelog/2005_04_05 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /o1_mf_1_4_154g3728_.arc recid=295 stamp=554828647 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_5_154m2og4_.arc recid=297 stamp=554833749 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished backup at 2005-04-05 16:29:20 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting backup at 2005-04-05 16:29:21 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using channel ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting full datafile backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) in backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00009 name=/data1/oradata/systemfile/bigtbs.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00001 name=/opt/oracle/oradata/eygle/system01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00006 name=/opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_test_03xv34ny_.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00002 name=/opt/oracle/oradata/eygle/undotbs01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00003 name=/opt/oracle/oradata/eygle/sysaux01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00010 name=/opt/oracle/oradata/eygle/dfmbrc.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00008 name=/opt/oracle/oradata/eygle/trans01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting piece 1 at 2005-04-05 16:29:22 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: finished piece 1 at 2005-04-05 16:31:07 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m33kf_.bkp comment=NONE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: backup set complete, elapsed time: 00:01:45 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting full datafile backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) in backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00005 name=/data1/oradata/systemfile/eygle01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00004 name=/opt/oracle/oradata/eygle/users01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00007 name=/opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_itpub_03xv5g66_.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting piece 1 at 2005-04-05 16:31:08 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: finished piece 1 at 2005-04-05 16:31:33 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset/2005_04_05 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /o1_mf_nnndf_TAG20050405T162921_154m6dxm_.bkp comment=NONE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting full datafile backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) in backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input datafile fno=00011 name=/opt/oracle/oradata/eygle/t2k01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting piece 1 at 2005-04-05 16:31:34 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: finished piece 1 at 2005-04-05 16:31:41 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m76kz_.bkp comment=NONE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished backup at 2005-04-05 16:31:41 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting backup at 2005-04-05 16:31:41 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        current log archived 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using channel ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting archive log backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying archive log(s) in backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        input archive log thread=1 sequence=6 recid=298 stamp=554833902 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting piece 1 at 2005-04-05 16:31:44 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: finished piece 1 at 2005-04-05 16:31:47 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset/2005_04_05 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /o1_mf_annnn_TAG20050405T163142_154m7jpo_.bkp comment=NONE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: deleting archive log(s) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_6_154m7gb3_.arc recid=298 stamp=554833902 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished backup at 2005-04-05 16:31:47 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting Control File and SPFILE Autobackup at 2005-04-05 16:31:48 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/autobackup 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_s_554833908_154m7qps_.bkp comment=NONE 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished Control File and SPFILE Autobackup at 2005-04-05 16:31:56 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> exit 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Recovery Manager complete.2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
此时的日志序列: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 17:46:19 > 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        select * from v$log_history where recid >1811; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIME 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS_TIME 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- ---------- ---------- ---------- ------------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1812 554813757 1 1 10923677 2005-04-05 09:54:53 10925720 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1813 554813974 1 2 10925720 2005-04-05 10:55:57 10925827 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1814 554823464 1 3 10925827 2005-04-05 10:59:34 10947409 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1815 554828646 1 4 10947409 2005-04-05 13:37:44 10950318 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1816 554833748 1 5 10950318 2005-04-05 15:04:06 10953123 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1817 554833901 1 6 10953123 2005-04-05 16:29:08 10953187 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1818 554833950 1 7 10953187 2005-04-05 16:31:41 10953213 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1819 554834005 1 8 10953213 2005-04-05 16:32:30 10953633 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1820 554834118 1 9 10953633 2005-04-05 16:33:25 10953726 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1821 554834756 1 1 10953214 2005-04-05 16:42:34 10953433 10953214 2005-04-05 16:42:34 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1822 554834781 1 2 10953433 2005-04-05 16:45:56 10953445 10953214 2005-04-05 16:42:34 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        11 rows selected. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:46:21 >shutdown immediate; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database closed. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database dismounted. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle instance shut down. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:47:38 >exit 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Disconnected from oracle Database 10g Enterprise 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Edition Release 10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        With the Partitioning, OLAP and Data Mining options 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        六、再次执行恢复 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        $ rman target / 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Recovery Manager: Release 10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Copyright (c) 1995, 2004, oracle. All rights reserved. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        connected to target database (not started) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> startup mount; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle instance started 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        database mounted 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Total system Global Area 314572800 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Fixed Size 1301704 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Variable Size 261890872 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database Buffers 50331648 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Redo Buffers 1048576 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> run { 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2> restore database; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        3> recover database; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        4> } 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting restore at 2005-04-05 16:49:54 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using target database controlfile instead of recovery catalog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        allocated channel: ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: sid=160 devtype=DISK 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        datafile 8 not processed because file is read-only 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting datafile backupset restore 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) to restore from backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00001 to /opt/oracle/oradata/eygle/system01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00002 to /opt/oracle/oradata/eygle/undotbs01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00003 to /opt/oracle/oradata/eygle/sysaux01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00006 to /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_test_03xv34ny_.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00009 to /data1/oradata/systemfile/bigtbs.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00010 to /opt/oracle/oradata/eygle/dfmbrc.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m33kf_.bkp 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        tag=TAG20050405T162921 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting datafile backupset restore 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) to restore from backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00004 to /opt/oracle/oradata/eygle/users01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00005 to /data1/oradata/systemfile/eygle01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00007 to /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_itpub_03xv5g66_.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m6dxm_.bkp tag=TAG20050405T162921 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting datafile backupset restore 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) to restore from backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00011 to /opt/oracle/oradata/eygle/t2k01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m76kz_.bkp 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        tag=TAG20050405T162921 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished restore at 2005-04-05 16:52:31 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting recover at 2005-04-05 16:52:32 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using channel ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        datafile 8 not processed because file is offline 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        starting media recovery 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log thread 1 sequence 7 is already on disk as file /data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_7_154m8z7k_.arc 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log thread 1 sequence 1 is already on disk as file /data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_1_154n24v5_.arc 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log thread 1 sequence 2 is already on disk as file /data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_2_154n2y40_.arc 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting archive log 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restore to default destination 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restoring archive log 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log thread=1 sequence=6 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_annnn_TAG20050405T163142_154m7jpo_.bkp 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        tag=TAG20050405T163142 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_6_154ngror_.arc thread=1 sequence=6 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel default: deleting archive log(s) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_6_154ngror_.arc recid=306 stamp=554835160 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_7_154m8z7k_.arc thread=1 sequence=7 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        media recovery complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished recover at 2005-04-05 16:53:04 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> alter database open; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        database opened 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> exit 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Recovery Manager complete. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        七、最后检查数据恢复情况 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        注意此次恢复跨越了resetlogs时间点 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        $ sqlplus "/ as sysdba" 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        sql*Plus: Release 10.1.0.2.0 - Production on 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Tue Apr 5 16:53:56 2005 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Copyright (c) 1982, 2004, oracle. All rights reserved.  2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Connected to: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle Database 10g Enterprise Edition Release 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        With the Partitioning, OLAP and Data Mining options 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:53:56 >select count(*) from t;  2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        COUNT(*) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        18956 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:54:01 >select count(*) from tt; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        COUNT(*) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        24 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:54:07 > 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:54:47 > 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        至此,数据恢复彻底完成。 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                                                二、进行数据的更改 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        $ sqlplus "/ as sysdba" 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        sql*Plus: Release 10.1.0.2.0 - Production on 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Tue Apr 5 16:32:23 2005 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Copyright (c) 1982, 2004, oracle. All rights reserved. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Connected to: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle Database 10g Enterprise Edition Release 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        With the Partitioning, OLAP and Data Mining options 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:32:23 >alter system switch logfile; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        system altered. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:32:30 >select count(*) from t; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        COUNT(*) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        18956 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:33:03 >insert into t select * from t; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        18956 rows created. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:33:17 >commit; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Commit complete. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:33:19 >alter system switch logfile; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        system altered.2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:33:45 >truncate table t; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        table truncated. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:34:58 >alter system switch logfile; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        system altered. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        日志序列的情况如下: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:35:00 > 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        select * from v$log_history where recid >1811; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIME NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS_TIME 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- ---------- ---------- ---------- ------------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1812 554813757 1 1 10923677 2005-04-05 09:54:53 10925720 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1813 554813974 1 2 10925720 2005-04-05 10:55:57 10925827 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1814 554823464 1 3 10925827 2005-04-05 10:59:34 10947409 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1815 554828646 1 4 10947409 2005-04-05 13:37:44 10950318 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1816 554833748 1 5 10950318 2005-04-05 15:04:06 10953123 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1817 554833901 1 6 10953123 2005-04-05 16:29:08 10953187 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1818 554833950 1 7 10953187 2005-04-05 16:31:41 10953213 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1819 554834005 1 8 10953213 2005-04-05 16:32:30 10953633 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        1820 554834118 1 9 10953633 2005-04-05 16:33:25 10953726 10923677 2005-04-05 09:54:53 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        9 rows selected. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        关闭数据库: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:35:18 >shutdown immediate; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database closed. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database dismounted. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle instance shut down. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:37:30 >exit 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Disconnected from oracle Database 10g Enterprise 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Edition Release 10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        With the Partitioning, OLAP and Data Mining options 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        三、执行不完全恢复 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        $ rman target / 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Recovery Manager: Release 10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Copyright (c) 1995, 2004, oracle. All rights reserved. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        connected to target database (not started) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> startup mount; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle instance started 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        database mounted 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Total system Global Area 314572800 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Fixed Size 1301704 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Variable Size 261890872 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database Buffers 50331648 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Redo Buffers 1048576 bytes 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> run { 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2> set until sequence 8 thread 1; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        3> restore database; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        4> recover database; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        5> }  2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        executing command: SET until clause 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using target database controlfile instead of recovery catalog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting restore at 2005-04-05 16:39:17 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        allocated channel: ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: sid=160 devtype=DISK 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        datafile 8 not processed because file is read-only 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting datafile backupset restore 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) to restore from backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00001 to /opt/oracle/oradata/eygle/system01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00002 to /opt/oracle/oradata/eygle/undotbs01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00003 to /opt/oracle/oradata/eygle/sysaux01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00006 to /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_test_03xv34ny_.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00009 to /data1/oradata/systemfile/bigtbs.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00010 to /opt/oracle/oradata/eygle/dfmbrc.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m33kf_.bkp tag=TAG20050405T162921 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting datafile backupset restore 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) to restore from backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00004 to /opt/oracle/oradata/eygle/users01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00005 to /data1/oradata/systemfile/eygle01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00007 to /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_itpub_03xv5g66_.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m6dxm_.bkp 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        tag=TAG20050405T162921 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting datafile backupset restore 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: specifying datafile(s) to restore from backup set 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restoring datafile 00011 to /opt/oracle/oradata/eygle/t2k01.dbf 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_nnndf_TAG20050405T162921_154m76kz_.bkp 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        tag=TAG20050405T162921 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished restore at 2005-04-05 16:41:45 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Starting recover at 2005-04-05 16:41:46 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        using channel ORA_DISK_1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        datafile 8 not processed because file is offline 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        starting media recovery 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log thread 1 sequence 7 is already on disk as file /data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_7_154m8z7k_.arc 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: starting archive log 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        restore to default destination 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restoring archive log 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log thread=1 sequence=6 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restored backup piece 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        piece handle=/data5/flash_recovery_area/EYGLE/backupset 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_annnn_TAG20050405T163142_154m7jpo_.bkp 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        tag=TAG20050405T163142 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel ORA_DISK_1: restore complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_6_154mtkfk_.arc thread=1 sequence=6 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        channel default: deleting archive log(s) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_6_154mtkfk_.arc recid=302 stamp=554834513 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        archive log filename=/data5/flash_recovery_area/EYGLE/archivelog 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        /2005_04_05/o1_mf_1_7_154m8z7k_.arc thread=1 sequence=7 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        media recovery complete 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Finished recover at 2005-04-05 16:41:57 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> alter database open resetlogs; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        database opened 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        RMAN> exit 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Recovery Manager complete. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        四、此时的数据库状态 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        $ sqlplus "/ as sysdba" 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        sql*Plus: Release 10.1.0.2.0 - Production on Tue Apr 5 16:43:58 2005 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Copyright (c) 1982, 2004, oracle. All rights reserved. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Connected to: 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        oracle Database 10g Enterprise Edition 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Release 10.1.0.2.0 - 64bit Production 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        With the Partitioning, OLAP and Data Mining options 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:43:58 >archive log list; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Database log mode Archive Mode 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Automatic archival Enabled 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Archive destination USE_DB_RECOVERY_FILE_DEST 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Oldest online log sequence 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Next log sequence to archive 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Current log sequence 1 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:44:01 >select count(*) from t; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        COUNT(*) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        18956 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        五、继续进行数据更改 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:44:08 > 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        create table tt as select * from dba_users; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        table created. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:45:51 >alter system switch logfile; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        system altered. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:45:56 >select count(*) from tt; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        COUNT(*) 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        ---------- 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        12 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:46:01 >insert into tt select * from tt; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        12 rows created. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:46:13 >commit; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        Commit complete. 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        SYS AS SYSDBA on 2005-04-05 16:46:16 >alter system switch logfile; 2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\
                        system altered.2œjG÷ù¡+Œûwww.netcsharp.cn$I$–›J‘Ž\