Image Copy Incremental Updates(ICIU):concepts(二)
app/oracle/oradata/oracle10/users01.dbf
output filename=/u01/app/oracle/flash_recovery_area/ORACLE10G/datafile/o1_mf_users_8p06wffr_.dbf tag=ICIU007 recid=6 stamp=812062605
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
......
......
④ 第二次运行【创建 1 级增量备份集】
第二次运行 ICIU 脚本:
● backup 命令创建 1 级增量备份
● recover copy 命令依然没有起作用、因为、虽然第一次运行时已经创建了 0 级镜像拷贝
但、仍然没有 1 级增量备份
然而、"no copy of datafile 1 found to recover"这消息提示多少有些误导人了
[sql]
RMAN> run{
2> recover copy of database with tag 'ICIU007';
3> backup
4> incremental level 1 tag 'ICIU007'
5> for recover of copy with tag 'ICIU007'
6> database plus archivelog delete input;
7> }
Starting recover at 07-APR-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=139 devtype=DISK
no copy of datafile 1 found to recover
no copy of datafile 2 found to recover
no copy of datafile 3 found to recover
no copy of datafile 4 found to recover
Finished recover at 07-APR-13
Starting backup at 07-APR-13
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=11 recid=9 stamp=812149977
channel ORA_DISK_1: starting piece 1 at 07-APR-13
channel ORA_DISK_1: finished piece 1 at 07-APR-13
piece handle=/u01/app/oracle/flash_recovery_area/ORACLE10G/backupset/2013_04_07/o1_mf_annnn_ICIU007_8p2w6tv2_.bkp tag=ICIU007 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: deleting archive log(s)
archive log filename=/u01/app/oracle/flash_recovery_area/ORACLE10G/archivelog/2013_04_07/o1_mf_1_11_8p2w6sbt_.arc recid=9 stamp=812149977
Finished backup at 07-APR-13
Starting backup at 07-APR-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/oracle10/system01.dbf
input datafile fno=00003 name=/u01/app/oracle/oradata/oracle10/sysaux01.dbf
input datafile fno=00002 name=/u01/app/oracle/oradata/oracle10/undotbs01.dbf
input datafile fno=00004 name=/u01/app/oracle/oradata/oracle10/users01.dbf
channel ORA_DISK_1: starting piece 1 at 07-APR-13
channel ORA_DISK_1: finished piece 1 at 07-APR-13
piece handle=/u01/app/oracle/flash_recovery_area/ORACLE10G/backupset/2013_04_07/o1_mf_nnnd1_ICIU007_8p2w6y6y_.bkp tag=ICIU007 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
......
......
⑤ 第三次运行
第三次运行 ICIU 脚本:
● recover copy 命令运用前一天创建的增量 1 集备份集到