|
块跟踪开启于新的0级备份之后:
- select * from v$block_change_tracking;
- SELECT file#, avg(datafile_blocks),
- avg(blocks_read),
- avg(blocks_read/datafile_blocks)
- * 100 AS PCT_READ_FOR_BACKUP,
- avg(blocks)
- FROM v$backup_datafile
- WHERE used_change_tracking = 'YES'
- AND incremental_level > 0
- GROUP BY file#;
- alter database enable block change tracking using file '+fra';
- select file#, used_change_tracking from v$backup_datafile;
复制代码
| FILE# | AVG(DATAFILE_BLOCKS) | AVG(BLOCKS_READ) | PCT_READ_FOR_BACKUP | AVG(BLOCKS) | 1 | 1 | 97280 | 85 | 0.0873766447368421 | 14 | 2 | 2 | 72960 | 57 | 0.078125 | 8 | 3 | 5 | 44320 | 1 | 0.00225631768953069 | 1 | 4 | 4 | 1280 | 1 | 0.078125 | 1 | 5 | 3 | 13440 | 193 | 1.4360119047619 | 24 |
不开片:
- RMAN> backup tag '6T-SYSTEM-incr0' incremental level 0 datafile 1;
- Starting backup at 2019-07-24:20:57:11
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_1: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:20:57:12
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:20:57:57
- piece handle=3tu7g0h8_1_1 tag=6T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:45
- Finished backup at 2019-07-24:20:57:57
- Starting Control File and SPFILE Autobackup at 2019-07-24:20:57:57
- piece handle=c-1541741703-20190724-06 comment=API Version 2.0,MMS Version 10.4.0.4
- Finished Control File and SPFILE Autobackup at 2019-07-24:20:58:22
复制代码 新的开片:
- RMAN> backup section size 400M tag '7T-SYSTEM-INCR0' incremental level 0 datafile 1;
- Starting backup at 2019-07-24:21:00:52
- using target database control file instead of recovery catalog
- allocated channel: ORA_SBT_TAPE_1
- channel ORA_SBT_TAPE_1: SID=46 device type=SBT_TAPE
- channel ORA_SBT_TAPE_1: Oracle Secure Backup
- allocated channel: ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_2: SID=58 device type=SBT_TAPE
- channel ORA_SBT_TAPE_2: Oracle Secure Backup
- channel ORA_SBT_TAPE_1: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- backing up blocks 1 through 51200
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:21:01:05
- channel ORA_SBT_TAPE_2: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- backing up blocks 51201 through 97280
- channel ORA_SBT_TAPE_2: starting piece 2 at 2019-07-24:21:01:05
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:21:01:30
- piece handle=3vu7g0oh_1_1 tag=7T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:25
- channel ORA_SBT_TAPE_2: finished piece 2 at 2019-07-24:21:01:50
- piece handle=3vu7g0oh_2_1 tag=7T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:00:45
- Finished backup at 2019-07-24:21:01:50
- Starting Control File and SPFILE Autobackup at 2019-07-24:21:01:50
- piece handle=c-1541741703-20190724-07 comment=API Version 2.0,MMS Version 10.4.0.4
- Finished Control File and SPFILE Autobackup at 2019-07-24:21:02:15
复制代码 RMAN的“干”运行命令,也接受section size:
- RMAN> backup validate section size 400M datafile 1;
- Starting backup at 2019-07-24:21:04:28
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_1: starting full datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- backing up blocks 1 through 51200
- channel ORA_SBT_TAPE_2: starting full datafile backup set
- channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
- including current control file in backup set
- channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:00:01
- List of Control File and SPFILE
- ===============================
- File Type Status Blocks Failing Blocks Examined
- ------------ ------ -------------- ---------------
- Control File OK 0 616
- channel ORA_SBT_TAPE_2: starting full datafile backup set
- channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- backing up blocks 51201 through 97280
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:02
- channel ORA_SBT_TAPE_1: starting full datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- including current SPFILE in backup set
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:01
- List of Control File and SPFILE
- ===============================
- File Type Status Blocks Failing Blocks Examined
- ------------ ------ -------------- ---------------
- SPFILE OK 0 2
- channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:00:03
- List of Datafiles
- =================
- File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
- ---- ------ -------------- ------------ --------------- ----------
- 1 OK 0 15730 97350 1304961
- File Name: +DATA/orcl/datafile/system.256.1013960881
- Block Type Blocks Failing Blocks Processed
- ---------- -------------- ----------------
- Data 0 64286
- Index 0 13303
- Other 0 3960
- Finished backup at 2019-07-24:21:04:33
- RMAN>
复制代码
事后change的弊端(要么所有日志都keep,要么所有都不keep):
关于keep forever:
这就是新特性:
- RMAN> backup keep until time 'sysdate+100' tag '8T-SYSTEM-INCR0' incremental level 0 tablespace system;
- Starting backup at 2019-07-24:21:31:35
- current log archived
- released channel: ORA_DISK_1
- released channel: ORA_DISK_2
- released channel: ORA_DISK_3
- released channel: ORA_DISK_4
- released channel: ORA_DISK_5
- released channel: ORA_DISK_6
- released channel: ORA_DISK_7
- released channel: ORA_DISK_8
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- backup will be obsolete on date 2019-11-01:21:31:38
- archived logs required to recover from this backup will be backed up
- channel ORA_SBT_TAPE_1: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:21:31:39
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:21:32:24
- piece handle=46u7g2hr_1_1 tag=8T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:45
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- backup will be obsolete on date 2019-11-01:21:32:24
- archived logs required to recover from this backup will be backed up
- channel ORA_SBT_TAPE_1: starting full datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- including current SPFILE in backup set
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:21:32:26
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:21:32:51
- piece handle=47u7g2ja_1_1 tag=8T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:25
- current log archived
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- backup will be obsolete on date 2019-11-01:21:32:55
- archived logs required to recover from this backup will be backed up
- channel ORA_SBT_TAPE_1: starting archived log backup set
- channel ORA_SBT_TAPE_1: specifying archived log(s) in backup set
- input archived log thread=1 sequence=92 RECID=87 STAMP=1014499972
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:21:32:55
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:21:33:20
- piece handle=48u7g2k7_1_1 tag=8T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:25
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- backup will be obsolete on date 2019-11-01:21:33:20
- archived logs required to recover from this backup will be backed up
- channel ORA_SBT_TAPE_1: starting full datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- including current control file in backup set
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:21:33:25
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:21:33:50
- piece handle=49u7g2l4_1_1 tag=8T-SYSTEM-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:25
- Finished backup at 2019-07-24:21:33:50
- RMAN>
复制代码
restore point:
- RMAN> backup keep forever restore point very_important tag '9T-WHOLE-INCR0' incremental level 0 database plus archivelog delete all inp
复制代码- select * from v$restore_point;
复制代码 | SCN | DATABASE_INCARNATION# | GUARANTEE_FLASHBACK_DATABASE | STORAGE_SIZE | TIME | RESTORE_POINT_TIME | PRESERVED | NAME | 1 | 1306323 | 2 | NO | 0 | 24-7月 -19 09.42.20.000000000 下午 | | NO | VERY_IMPORTANT |
补充:
关于需要多少段增量备份来进行恢复:
- [oracle@station76 ~]$ rman target /
- Recovery Manager: Release 11.2.0.4.0 - Production on Wed Jul 24 22:01:19 2019
- Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
- connected to target database: ORCL (DBID=1541741703)
- RMAN> list backup;
- using target database control file instead of recovery catalog
- specification does not match any backup in the repository
- RMAN> list copy;
- specification does not match any datafile copy in the repository
- specification does not match any control file copy in the repository
- specification does not match any archived log in the repository
- RMAN> backup tag '1T-WHOLE-INCR0' incremental level 0 database plus archivelog delete all input;
- Starting backup at 2019-07-24:22:02:50
- current log archived
- allocated channel: ORA_SBT_TAPE_1
- channel ORA_SBT_TAPE_1: SID=47 device type=SBT_TAPE
- channel ORA_SBT_TAPE_1: Oracle Secure Backup
- allocated channel: ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_2: SID=49 device type=SBT_TAPE
- channel ORA_SBT_TAPE_2: Oracle Secure Backup
- channel ORA_SBT_TAPE_1: starting archived log backup set
- channel ORA_SBT_TAPE_1: specifying archived log(s) in backup set
- input archived log thread=1 sequence=97 RECID=92 STAMP=1014501770
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:22:03:04
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:22:03:29
- piece handle=4ju7g4co_1_1 tag=1T-WHOLE-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:25
- channel ORA_SBT_TAPE_1: deleting archived log(s)
- archived log file name=+FRA/orcl/archivelog/2019_07_24/thread_1_seq_97.303.1014501771 RECID=92 STA MP=1014501770
- Finished backup at 2019-07-24:22:03:30
- Starting backup at 2019-07-24:22:03:30
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_1: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- input datafile file number=00005 name=+DATA/orcl/datafile/example.265.1013960987
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:22:03:31
- channel ORA_SBT_TAPE_2: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
- input datafile file number=00002 name=+DATA/orcl/datafile/sysaux.257.1013960883
- input datafile file number=00003 name=+DATA/orcl/datafile/undotbs1.258.1013960883
- input datafile file number=00004 name=+DATA/orcl/datafile/users.259.1014330935
- channel ORA_SBT_TAPE_2: starting piece 1 at 2019-07-24:22:03:31
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:22:04:06
- piece handle=4ku7g4dj_1_1 tag=1T-WHOLE-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:35
- channel ORA_SBT_TAPE_2: finished piece 1 at 2019-07-24:22:04:16
- piece handle=4lu7g4dj_1_1 tag=1T-WHOLE-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:00:45
- Finished backup at 2019-07-24:22:04:17
- Starting backup at 2019-07-24:22:04:17
- current log archived
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_1: starting archived log backup set
- channel ORA_SBT_TAPE_1: specifying archived log(s) in backup set
- input archived log thread=1 sequence=98 RECID=93 STAMP=1014501858
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:22:04:19
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:22:04:44
- piece handle=4mu7g4f3_1_1 tag=1T-WHOLE-INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:25
- channel ORA_SBT_TAPE_1: deleting archived log(s)
- archived log file name=+FRA/orcl/archivelog/2019_07_24/thread_1_seq_98.303.1014501859 RECID=93 STA MP=1014501858
- Finished backup at 2019-07-24:22:04:44
- Starting Control File and SPFILE Autobackup at 2019-07-24:22:04:45
- piece handle=c-1541741703-20190724-09 comment=API Version 2.0,MMS Version 10.4.0.4
- Finished Control File and SPFILE Autobackup at 2019-07-24:22:05:10
- RMAN> backup tag '2T-WHOLE-INCR1' incremental level 1 database ;
- Starting backup at 2019-07-24:22:06:28
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_1: starting incremental level 1 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- input datafile file number=00005 name=+DATA/orcl/datafile/example.265.1013960987
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:22:06:28
- channel ORA_SBT_TAPE_2: starting incremental level 1 datafile backup set
- channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
- input datafile file number=00002 name=+DATA/orcl/datafile/sysaux.257.1013960883
- input datafile file number=00003 name=+DATA/orcl/datafile/undotbs1.258.1013960883
- input datafile file number=00004 name=+DATA/orcl/datafile/users.259.1014330935
- channel ORA_SBT_TAPE_2: starting piece 1 at 2019-07-24:22:06:29
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:22:06:54
- piece handle=4ou7g4j4_1_1 tag=2T-WHOLE-INCR1 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:26
- channel ORA_SBT_TAPE_2: finished piece 1 at 2019-07-24:22:07:04
- piece handle=4pu7g4j4_1_1 tag=2T-WHOLE-INCR1 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:00:35
- Finished backup at 2019-07-24:22:07:04
- Starting Control File and SPFILE Autobackup at 2019-07-24:22:07:04
- piece handle=c-1541741703-20190724-0a comment=API Version 2.0,MMS Version 10.4.0.4
- Finished Control File and SPFILE Autobackup at 2019-07-24:22:07:29
- RMAN> report need backup incremental 0;
- Report of files that need more than 0 incrementals during recovery
- File Incrementals Name
- ---- ------------ ----------------------------------------------
- 1 1 +DATA/orcl/datafile/system.256.1013960881
- 2 1 +DATA/orcl/datafile/sysaux.257.1013960883
- 3 1 +DATA/orcl/datafile/undotbs1.258.1013960883
- 4 1 +DATA/orcl/datafile/users.259.1014330935
- 5 1 +DATA/orcl/datafile/example.265.1013960987
- RMAN> report need backup incremental 1;
- Report of files that need more than 1 incrementals during recovery
- File Incrementals Name
- ---- ------------ ----------------------------------------------
- RMAN> backup tag '3T-WHOLE-INCR1' incremental level 1 database ;
- Starting backup at 2019-07-24:22:09:06
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_1: starting incremental level 1 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00001 name=+DATA/orcl/datafile/system.256.1013960881
- input datafile file number=00005 name=+DATA/orcl/datafile/example.265.1013960987
- channel ORA_SBT_TAPE_1: starting piece 1 at 2019-07-24:22:09:07
- channel ORA_SBT_TAPE_2: starting incremental level 1 datafile backup set
- channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
- input datafile file number=00002 name=+DATA/orcl/datafile/sysaux.257.1013960883
- input datafile file number=00003 name=+DATA/orcl/datafile/undotbs1.258.1013960883
- input datafile file number=00004 name=+DATA/orcl/datafile/users.259.1014330935
- channel ORA_SBT_TAPE_2: starting piece 1 at 2019-07-24:22:09:07
- channel ORA_SBT_TAPE_2: finished piece 1 at 2019-07-24:22:09:32
- piece handle=4su7g4o3_1_1 tag=3T-WHOLE-INCR1 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:00:25
- channel ORA_SBT_TAPE_1: finished piece 1 at 2019-07-24:22:09:42
- piece handle=4ru7g4o3_1_1 tag=3T-WHOLE-INCR1 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:35
- Finished backup at 2019-07-24:22:09:42
- Starting Control File and SPFILE Autobackup at 2019-07-24:22:09:42
复制代码
图形界面的ADR:
| Recovery Results | |
| |
Recovery Manager: Release 11.2.0.4.0 - Production on Wed Jul 24 22:42:31 2019
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN>
connected to target database: ORCL (DBID=1541741703, not open)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> REPAIR FAILURE USING REPAIRID 3347 NO OPEN DATABASE NOPROMPT;
Strategy: The repair includes complete media recovery with no data loss
Repair script: /u01/app/oracle/diag/rdbms/orcl/orcl/hm/reco_1718221962.hm
contents of repair script:
# restore and recover datafile
restore datafile 1;
recover datafile 1;
sql 'alter database datafile 1 online';
executing repair script
Starting restore at 2019-07-24:22:42:35
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=43 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Oracle Secure Backup
allocated channel: ORA_SBT_TAPE_2
channel ORA_SBT_TAPE_2: SID=52 device type=SBT_TAPE
channel ORA_SBT_TAPE_2: Oracle Secure Backup
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=50 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=49 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=48 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=47 device type=DISK
allocated channel: ORA_DISK_5
channel ORA_DISK_5: SID=46 device type=DISK
allocated channel: ORA_DISK_6
channel ORA_DISK_6: SID=45 device type=DISK
allocated channel: ORA_DISK_7
channel ORA_DISK_7: SID=38 device type=DISK
allocated channel: ORA_DISK_8
channel ORA_DISK_8: SID=40 device type=DISK
channel ORA_SBT_TAPE_1: starting datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
channel ORA_SBT_TAPE_1: restoring datafile 00001 to +DATA/orcl/datafile/system.256.1013960881
channel ORA_SBT_TAPE_1: reading from backup piece 4ku7g4dj_1_1
channel ORA_SBT_TAPE_1: piece handle=4ku7g4dj_1_1 tag=1T-WHOLE-INCR0
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:55
Finished restore at 2019-07-24:22:44:06
Starting recover at 2019-07-24:22:44:06
using channel ORA_SBT_TAPE_1
using channel ORA_SBT_TAPE_2
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
using channel ORA_DISK_5
using channel ORA_DISK_6
using channel ORA_DISK_7
using channel ORA_DISK_8
channel ORA_SBT_TAPE_1: starting incremental datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: +DATA/orcl/datafile/system.256.1014504215
channel ORA_SBT_TAPE_1: reading from backup piece 4ou7g4j4_1_1
channel ORA_SBT_TAPE_1: piece handle=4ou7g4j4_1_1 tag=2T-WHOLE-INCR1
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:35
channel ORA_SBT_TAPE_1: starting incremental datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: +DATA/orcl/datafile/system.256.1014504215
channel ORA_SBT_TAPE_1: reading from backup piece 4ru7g4o3_1_1
channel ORA_SBT_TAPE_1: piece handle=4ru7g4o3_1_1 tag=3T-WHOLE-INCR1
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:35
starting media recovery
archived log for thread 1 with sequence 99 is already on disk as file +FRA/orcl/archivelog/2019_07_24/thread_1_seq_99.303.1014503299
archived log for thread 1 with sequence 100 is already on disk as file +FRA/orcl/archivelog/2019_07_24/thread_1_seq_100.301.1014503301
archived log for thread 1 with sequence 101 is already on disk as file +FRA/orcl/archivelog/2019_07_24/thread_1_seq_101.293.1014503301
archived log for thread 1 with sequence 102 is already on disk as file +FRA/orcl/archivelog/2019_07_24/thread_1_seq_102.298.1014508989
archived log for thread 1 with sequence 103 is already on disk as file +FRA/orcl/archivelog/2019_07_24/thread_1_seq_103.295.1014503303
archived log for thread 1 with sequence 104 is already on disk as file +FRA/orcl/archivelog/2019_07_24/thread_1_seq_104.300.1014503303
archived log file name=+FRA/orcl/archivelog/2019_07_24/thread_1_seq_99.303.1014503299 thread=1 sequence=99
archived log file name=+FRA/orcl/archivelog/2019_07_24/thread_1_seq_100.301.1014503301 thread=1 sequence=100
archived log file name=+FRA/orcl/archivelog/2019_07_24/thread_1_seq_101.293.1014503301 thread=1 sequence=101
archived log file name=+FRA/orcl/archivelog/2019_07_24/thread_1_seq_102.298.1014508989 thread=1 sequence=102
media recovery complete, elapsed time: 00:00:00
Finished recover at 2019-07-24:22:45:19
sql statement: alter database datafile 1 online
repair failure complete
RMAN> exit;
Recovery Manager complete.
|
|
|
|