|
关于CDB和PDB的备份:
- [oracle@station90 ~]$ . oraenv
- ORACLE_SID = [orcl2] ? cdb2
- The Oracle base remains unchanged with value /u01/app/oracle
- [oracle@station90 ~]$ rman target /
- Recovery Manager: Release 12.1.0.2.0 - Production on Wed May 23 19:49:23 2018
- Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
- connected to target database: CDB2 (DBID=723357305)
- RMAN> backup tag '1T_WHOLE_INCR0' incremental level 0 database plus archivelog delete all input;
- Starting backup at 2018-05-23:19:49:39
- current log archived
- using target database control file instead of recovery catalog
- allocated channel: ORA_SBT_TAPE_1
- channel ORA_SBT_TAPE_1: SID=323 device type=SBT_TAPE
- channel ORA_SBT_TAPE_1: Oracle Secure Backup
- allocated channel: ORA_SBT_TAPE_2
- channel ORA_SBT_TAPE_2: SID=934 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=75 RECID=1 STAMP=976909206
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:49:54
- channel ORA_SBT_TAPE_2: starting archived log backup set
- channel ORA_SBT_TAPE_2: specifying archived log(s) in backup set
- input archived log thread=1 sequence=76 RECID=2 STAMP=976909780
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:49:54
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:50:19
- piece handle=01t3ktf2_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=/u01/app/oracle/fast_recovery_area/CDB2/archivelog/2018_05_23/o1_mf_1_75_fjbnrp4h_.arc RECID=1 STAMP=976909206
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:50:19
- piece handle=02t3ktf2_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:25
- channel ORA_SBT_TAPE_2: deleting archived log(s)
- archived log file name=/u01/app/oracle/fast_recovery_area/CDB2/archivelog/2018_05_23/o1_mf_1_76_fjbobmyf_.arc RECID=2 STAMP=976909780
- Finished backup at 2018-05-23:19:50:19
- Starting backup at 2018-05-23:19:50:19
- 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=00004 name=/u01/app/oracle/oradata/cdb2/undotbs01.dbf
- input datafile file number=00003 name=/u01/app/oracle/oradata/cdb2/sysaux01.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:50:20
- 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=00028 name=/u01/app/oracle/oradata/CDB1/datafile/o1_mf_example_fhht9hsj_.dbf
- input datafile file number=00027 name=/u01/app/oracle/oradata/CDB1/datafile/o1_mf_users_fhht9hym_.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:50:20
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:50:45
- piece handle=03t3ktfs_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: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00021 name=/u01/app/oracle/oradata/cdb2/pdb_orcl2/system01.dbf
- input datafile file number=00024 name=/u01/app/oracle/oradata/cdb2/pdb_orcl2/example01.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:50:45
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:50:45
- piece handle=04t3ktfs_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:25
- 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=00022 name=/u01/app/oracle/oradata/cdb2/pdb_orcl2/sysaux01.dbf
- input datafile file number=00023 name=/u01/app/oracle/oradata/cdb2/pdb_orcl2/users01.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:50:45
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:51:10
- piece handle=05t3ktgl_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: starting incremental level 0 datafile backup set
- channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
- input datafile file number=00026 name=/u01/app/oracle/oradata/CDB1/datafile/o1_mf_sysaux_fhht9hv8_.dbf
- input datafile file number=00025 name=/u01/app/oracle/oradata/CDB1/datafile/o1_mf_system_fhht9hx3_.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:51:11
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:51:12
- piece handle=06t3ktgl_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:27
- 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=/u01/app/oracle/oradata/cdb2/system01.dbf
- input datafile file number=00029 name=/u01/app/oracle/oradata/cdb2/cdata_01.dbf
- input datafile file number=00006 name=/u01/app/oracle/oradata/cdb2/users01.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:51:12
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:51:37
- piece handle=07t3kthf_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:26
- 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=00011 name=/u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- input datafile file number=00030 name=/u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:51:37
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:51:38
- piece handle=08t3kthg_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:26
- 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=00017 name=/u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_sysaux_fj1qtlhd_.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:51:38
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:52:03
- piece handle=09t3kti9_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:26
- 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=00007 name=/u01/app/oracle/oradata/cdb2/pdbseed/sysaux01.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:52:03
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:52:03
- piece handle=0at3ktia_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:25
- 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=00010 name=/u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- input datafile file number=00012 name=/u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:52:04
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:52:29
- piece handle=0bt3ktj3_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:26
- 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=00016 name=/u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_system_fj1qtlhb_.dbf
- input datafile file number=00018 name=/u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_users_fj1qtlhf_.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:52:29
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:52:29
- piece handle=0ct3ktj4_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:25
- 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=00005 name=/u01/app/oracle/oradata/cdb2/pdbseed/system01.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:52:30
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:52:55
- piece handle=0dt3ktjt_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:26
- channel ORA_SBT_TAPE_2: finished piece 1 at 2018-05-23:19:52:55
- piece handle=0et3ktjt_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:25
- Finished backup at 2018-05-23:19:52:55
- Starting backup at 2018-05-23:19:52:55
- 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=77 RECID=3 STAMP=976909975
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:52:56
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:53:21
- piece handle=0ft3ktko_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=/u01/app/oracle/fast_recovery_area/CDB2/archivelog/2018_05_23/o1_mf_1_77_fjbojqnb_.arc RECID=3 STAMP=976909975
- Finished backup at 2018-05-23:19:53:21
- Starting Control File and SPFILE Autobackup at 2018-05-23:19:53:21
- piece handle=c-723357305-20180523-00 comment=API Version 2.0,MMS Version 10.4.0.4
- Finished Control File and SPFILE Autobackup at 2018-05-23:19:53:46
- RMAN> list backup of database;
- List of Backup Sets
- ===================
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 3 Incr 0 615.50M SBT_TAPE 00:00:14 2018-05-23:19:50:34
- BP Key: 3 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 03t3ktfs_1_1 Media: station90-000008
- List of Datafiles in backup set 3
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 3 0 Incr 4293884 2018-05-23:19:50:20 /u01/app/oracle/oradata/cdb2/sysaux01.dbf
- 4 0 Incr 4293884 2018-05-23:19:50:20 /u01/app/oracle/oradata/cdb2/undotbs01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 4 Incr 0 98.00M SBT_TAPE 00:00:15 2018-05-23:19:50:35
- BP Key: 4 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 04t3ktfs_1_1 Media: station90-000007
- List of Datafiles in backup set 4
- Container ID: 6, PDB Name: PDB1_1
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 27 0 Incr 4293885 2018-05-23:19:50:20 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_users_fhht9hym_.dbf
- 28 0 Incr 4293885 2018-05-23:19:50:20 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_example_fhht9hsj_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 5 Incr 0 932.75M SBT_TAPE 00:00:17 2018-05-23:19:51:02
- BP Key: 5 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 05t3ktgl_1_1 Media: station90-000007
- List of Datafiles in backup set 5
- Container ID: 5, PDB Name: PDB_ORCL2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 21 0 Incr 4293895 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/system01.dbf
- 24 0 Incr 4293895 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/example01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 6 Incr 0 776.75M SBT_TAPE 00:00:17 2018-05-23:19:51:02
- BP Key: 6 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 06t3ktgl_1_1 Media: station90-000008
- List of Datafiles in backup set 6
- Container ID: 5, PDB Name: PDB_ORCL2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 22 0 Incr 4293896 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/sysaux01.dbf
- 23 0 Incr 4293896 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 7 Incr 0 691.00M SBT_TAPE 00:00:16 2018-05-23:19:51:27
- BP Key: 7 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 07t3kthf_1_1 Media: station90-000007
- List of Datafiles in backup set 7
- Container ID: 6, PDB Name: PDB1_1
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 25 0 Incr 4293906 2018-05-23:19:51:11 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_system_fhht9hx3_.dbf
- 26 0 Incr 4293906 2018-05-23:19:51:11 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_sysaux_fhht9hv8_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 8 Incr 0 679.50M SBT_TAPE 00:00:17 2018-05-23:19:51:29
- BP Key: 8 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 08t3kthg_1_1 Media: station90-000008
- List of Datafiles in backup set 8
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 1 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/system01.dbf
- 6 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/users01.dbf
- 29 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/cdata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 9 Incr 0 465.75M SBT_TAPE 00:00:13 2018-05-23:19:51:50
- BP Key: 9 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 09t3kti9_1_1 Media: station90-000007
- List of Datafiles in backup set 9
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 11 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- 30 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 10 Incr 0 464.75M SBT_TAPE 00:00:13 2018-05-23:19:51:51
- BP Key: 10 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0at3ktia_1_1 Media: station90-000008
- List of Datafiles in backup set 10
- Container ID: 4, PDB Name: PDB2_2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 17 0 Incr 4293919 2018-05-23:19:51:38 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_sysaux_fj1qtlhd_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 11 Incr 0 210.50M SBT_TAPE 00:00:11 2018-05-23:19:52:15
- BP Key: 11 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0ct3ktj4_1_1 Media: station90-000008
- List of Datafiles in backup set 11
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 10 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- 12 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 12 Incr 0 456.25M SBT_TAPE 00:00:13 2018-05-23:19:52:16
- BP Key: 12 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0bt3ktj3_1_1 Media: station90-000007
- List of Datafiles in backup set 12
- Container ID: 2, PDB Name: PDB$SEED
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 7 0 Incr 1740084 2018-05-16:21:27:24 /u01/app/oracle/oradata/cdb2/pdbseed/sysaux01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 13 Incr 0 210.50M SBT_TAPE 00:00:10 2018-05-23:19:52:39
- BP Key: 13 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0dt3ktjt_1_1 Media: station90-000007
- List of Datafiles in backup set 13
- Container ID: 4, PDB Name: PDB2_2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 16 0 Incr 4293943 2018-05-23:19:52:29 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_system_fj1qtlhb_.dbf
- 18 0 Incr 4293943 2018-05-23:19:52:29 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_users_fj1qtlhf_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 14 Incr 0 204.75M SBT_TAPE 00:00:11 2018-05-23:19:52:40
- BP Key: 14 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0et3ktjt_1_1 Media: station90-000008
- List of Datafiles in backup set 14
- Container ID: 2, PDB Name: PDB$SEED
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 5 0 Incr 1740084 2018-05-16:21:27:24 /u01/app/oracle/oradata/cdb2/pdbseed/system01.dbf
- RMAN> list backup ;
- List of Backup Sets
- ===================
- BS Key Size Device Type Elapsed Time Completion Time
- ------- ---------- ----------- ------------ -------------------
- 1 768.00K SBT_TAPE 00:00:16 2018-05-23:19:50:10
- BP Key: 1 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 02t3ktf2_1_1 Media: station90-000007
- List of Archived Logs in backup set 1
- Thrd Seq Low SCN Low Time Next SCN Next Time
- ---- ------- ---------- ------------------- ---------- ---------
- 1 76 4292078 2018-05-23:19:40:05 4293826 2018-05-23:19:49:39
- BS Key Size Device Type Elapsed Time Completion Time
- ------- ---------- ----------- ------------ -------------------
- 2 5.50M SBT_TAPE 00:00:17 2018-05-23:19:50:11
- BP Key: 2 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 01t3ktf2_1_1 Media: station90-000008
- List of Archived Logs in backup set 2
- Thrd Seq Low SCN Low Time Next SCN Next Time
- ---- ------- ---------- ------------------- ---------- ---------
- 1 75 4188069 2018-05-23:17:00:40 4292078 2018-05-23:19:40:05
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 3 Incr 0 615.50M SBT_TAPE 00:00:14 2018-05-23:19:50:34
- BP Key: 3 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 03t3ktfs_1_1 Media: station90-000008
- List of Datafiles in backup set 3
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 3 0 Incr 4293884 2018-05-23:19:50:20 /u01/app/oracle/oradata/cdb2/sysaux01.dbf
- 4 0 Incr 4293884 2018-05-23:19:50:20 /u01/app/oracle/oradata/cdb2/undotbs01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 4 Incr 0 98.00M SBT_TAPE 00:00:15 2018-05-23:19:50:35
- BP Key: 4 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 04t3ktfs_1_1 Media: station90-000007
- List of Datafiles in backup set 4
- Container ID: 6, PDB Name: PDB1_1
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 27 0 Incr 4293885 2018-05-23:19:50:20 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_users_fhht9hym_.dbf
- 28 0 Incr 4293885 2018-05-23:19:50:20 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_example_fhht9hsj_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 5 Incr 0 932.75M SBT_TAPE 00:00:17 2018-05-23:19:51:02
- BP Key: 5 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 05t3ktgl_1_1 Media: station90-000007
- List of Datafiles in backup set 5
- Container ID: 5, PDB Name: PDB_ORCL2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 21 0 Incr 4293895 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/system01.dbf
- 24 0 Incr 4293895 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/example01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 6 Incr 0 776.75M SBT_TAPE 00:00:17 2018-05-23:19:51:02
- BP Key: 6 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 06t3ktgl_1_1 Media: station90-000008
- List of Datafiles in backup set 6
- Container ID: 5, PDB Name: PDB_ORCL2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 22 0 Incr 4293896 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/sysaux01.dbf
- 23 0 Incr 4293896 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 7 Incr 0 691.00M SBT_TAPE 00:00:16 2018-05-23:19:51:27
- BP Key: 7 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 07t3kthf_1_1 Media: station90-000007
- List of Datafiles in backup set 7
- Container ID: 6, PDB Name: PDB1_1
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 25 0 Incr 4293906 2018-05-23:19:51:11 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_system_fhht9hx3_.dbf
- 26 0 Incr 4293906 2018-05-23:19:51:11 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_sysaux_fhht9hv8_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 8 Incr 0 679.50M SBT_TAPE 00:00:17 2018-05-23:19:51:29
- BP Key: 8 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 08t3kthg_1_1 Media: station90-000008
- List of Datafiles in backup set 8
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 1 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/system01.dbf
- 6 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/users01.dbf
- 29 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/cdata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 9 Incr 0 465.75M SBT_TAPE 00:00:13 2018-05-23:19:51:50
- BP Key: 9 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 09t3kti9_1_1 Media: station90-000007
- List of Datafiles in backup set 9
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 11 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- 30 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 10 Incr 0 464.75M SBT_TAPE 00:00:13 2018-05-23:19:51:51
- BP Key: 10 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0at3ktia_1_1 Media: station90-000008
- List of Datafiles in backup set 10
- Container ID: 4, PDB Name: PDB2_2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 17 0 Incr 4293919 2018-05-23:19:51:38 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_sysaux_fj1qtlhd_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 11 Incr 0 210.50M SBT_TAPE 00:00:11 2018-05-23:19:52:15
- BP Key: 11 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0ct3ktj4_1_1 Media: station90-000008
- List of Datafiles in backup set 11
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 10 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- 12 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 12 Incr 0 456.25M SBT_TAPE 00:00:13 2018-05-23:19:52:16
- BP Key: 12 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0bt3ktj3_1_1 Media: station90-000007
- List of Datafiles in backup set 12
- Container ID: 2, PDB Name: PDB$SEED
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 7 0 Incr 1740084 2018-05-16:21:27:24 /u01/app/oracle/oradata/cdb2/pdbseed/sysaux01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 13 Incr 0 210.50M SBT_TAPE 00:00:10 2018-05-23:19:52:39
- BP Key: 13 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0dt3ktjt_1_1 Media: station90-000007
- List of Datafiles in backup set 13
- Container ID: 4, PDB Name: PDB2_2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 16 0 Incr 4293943 2018-05-23:19:52:29 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_system_fj1qtlhb_.dbf
- 18 0 Incr 4293943 2018-05-23:19:52:29 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_users_fj1qtlhf_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 14 Incr 0 204.75M SBT_TAPE 00:00:11 2018-05-23:19:52:40
- BP Key: 14 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0et3ktjt_1_1 Media: station90-000008
- List of Datafiles in backup set 14
- Container ID: 2, PDB Name: PDB$SEED
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 5 0 Incr 1740084 2018-05-16:21:27:24 /u01/app/oracle/oradata/cdb2/pdbseed/system01.dbf
- BS Key Size Device Type Elapsed Time Completion Time
- ------- ---------- ----------- ------------ -------------------
- 15 256.00K SBT_TAPE 00:00:08 2018-05-23:19:53:04
- BP Key: 15 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0ft3ktko_1_1 Media: station90-000007
- List of Archived Logs in backup set 15
- Thrd Seq Low SCN Low Time Next SCN Next Time
- ---- ------- ---------- ------------------- ---------- ---------
- 1 77 4293826 2018-05-23:19:49:39 4293957 2018-05-23:19:52:55
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 16 Full 17.25M SBT_TAPE 00:00:09 2018-05-23:19:53:30
- BP Key: 16 Status: AVAILABLE Compressed: NO Tag: TAG20180523T195321
- Handle: c-723357305-20180523-00 Media: station90-000007
- SPFILE Included: Modification time: 2018-05-23:19:40:46
- SPFILE db_unique_name: CDB2
- Control File Included: Ckp SCN: 4293978 Ckp time: 2018-05-23:19:53:21
- RMAN> list backup of database;
- List of Backup Sets
- ===================
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 3 Incr 0 615.50M SBT_TAPE 00:00:14 2018-05-23:19:50:34
- BP Key: 3 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 03t3ktfs_1_1 Media: station90-000008
- List of Datafiles in backup set 3
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 3 0 Incr 4293884 2018-05-23:19:50:20 /u01/app/oracle/oradata/cdb2/sysaux01.dbf
- 4 0 Incr 4293884 2018-05-23:19:50:20 /u01/app/oracle/oradata/cdb2/undotbs01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 4 Incr 0 98.00M SBT_TAPE 00:00:15 2018-05-23:19:50:35
- BP Key: 4 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 04t3ktfs_1_1 Media: station90-000007
- List of Datafiles in backup set 4
- Container ID: 6, PDB Name: PDB1_1
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 27 0 Incr 4293885 2018-05-23:19:50:20 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_users_fhht9hym_.dbf
- 28 0 Incr 4293885 2018-05-23:19:50:20 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_example_fhht9hsj_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 5 Incr 0 932.75M SBT_TAPE 00:00:17 2018-05-23:19:51:02
- BP Key: 5 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 05t3ktgl_1_1 Media: station90-000007
- List of Datafiles in backup set 5
- Container ID: 5, PDB Name: PDB_ORCL2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 21 0 Incr 4293895 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/system01.dbf
- 24 0 Incr 4293895 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/example01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 6 Incr 0 776.75M SBT_TAPE 00:00:17 2018-05-23:19:51:02
- BP Key: 6 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 06t3ktgl_1_1 Media: station90-000008
- List of Datafiles in backup set 6
- Container ID: 5, PDB Name: PDB_ORCL2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 22 0 Incr 4293896 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/sysaux01.dbf
- 23 0 Incr 4293896 2018-05-23:19:50:45 /u01/app/oracle/oradata/cdb2/pdb_orcl2/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 7 Incr 0 691.00M SBT_TAPE 00:00:16 2018-05-23:19:51:27
- BP Key: 7 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 07t3kthf_1_1 Media: station90-000007
- List of Datafiles in backup set 7
- Container ID: 6, PDB Name: PDB1_1
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 25 0 Incr 4293906 2018-05-23:19:51:11 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_system_fhht9hx3_.dbf
- 26 0 Incr 4293906 2018-05-23:19:51:11 /u01/app/oracle/oradata/CDB1/datafile/o1_mf_sysaux_fhht9hv8_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 8 Incr 0 679.50M SBT_TAPE 00:00:17 2018-05-23:19:51:29
- BP Key: 8 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 08t3kthg_1_1 Media: station90-000008
- List of Datafiles in backup set 8
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 1 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/system01.dbf
- 6 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/users01.dbf
- 29 0 Incr 4293908 2018-05-23:19:51:12 /u01/app/oracle/oradata/cdb2/cdata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 9 Incr 0 465.75M SBT_TAPE 00:00:13 2018-05-23:19:51:50
- BP Key: 9 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 09t3kti9_1_1 Media: station90-000007
- List of Datafiles in backup set 9
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 11 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- 30 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 10 Incr 0 464.75M SBT_TAPE 00:00:13 2018-05-23:19:51:51
- BP Key: 10 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0at3ktia_1_1 Media: station90-000008
- List of Datafiles in backup set 10
- Container ID: 4, PDB Name: PDB2_2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 17 0 Incr 4293919 2018-05-23:19:51:38 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_sysaux_fj1qtlhd_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 11 Incr 0 210.50M SBT_TAPE 00:00:11 2018-05-23:19:52:15
- BP Key: 11 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0ct3ktj4_1_1 Media: station90-000008
- List of Datafiles in backup set 11
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 10 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- 12 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 12 Incr 0 456.25M SBT_TAPE 00:00:13 2018-05-23:19:52:16
- BP Key: 12 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0bt3ktj3_1_1 Media: station90-000007
- List of Datafiles in backup set 12
- Container ID: 2, PDB Name: PDB$SEED
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 7 0 Incr 1740084 2018-05-16:21:27:24 /u01/app/oracle/oradata/cdb2/pdbseed/sysaux01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 13 Incr 0 210.50M SBT_TAPE 00:00:10 2018-05-23:19:52:39
- BP Key: 13 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0dt3ktjt_1_1 Media: station90-000007
- List of Datafiles in backup set 13
- Container ID: 4, PDB Name: PDB2_2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 16 0 Incr 4293943 2018-05-23:19:52:29 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_system_fj1qtlhb_.dbf
- 18 0 Incr 4293943 2018-05-23:19:52:29 /u01/app/oracle/oradata/cdb2/pdb2_2/CDB2/6C9ADF4F1ED80D0EE0535A00A8C07133/datafile/o1_mf_users_fj1qtlhf_.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 14 Incr 0 204.75M SBT_TAPE 00:00:11 2018-05-23:19:52:40
- BP Key: 14 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0et3ktjt_1_1 Media: station90-000008
- List of Datafiles in backup set 14
- Container ID: 2, PDB Name: PDB$SEED
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 5 0 Incr 1740084 2018-05-16:21:27:24 /u01/app/oracle/oradata/cdb2/pdbseed/system01.dbf
- RMAN> list backup of pluggable database pdb2;
- List of Backup Sets
- ===================
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 9 Incr 0 465.75M SBT_TAPE 00:00:13 2018-05-23:19:51:50
- BP Key: 9 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 09t3kti9_1_1 Media: station90-000007
- List of Datafiles in backup set 9
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 11 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- 30 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 11 Incr 0 210.50M SBT_TAPE 00:00:11 2018-05-23:19:52:15
- BP Key: 11 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0ct3ktj4_1_1 Media: station90-000008
- List of Datafiles in backup set 11
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 10 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- 12 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- RMAN> backup tag '2T_PLUG-PDB2_INCR0' incremental level 0 pluggable database pdb2 plus archivelog ;
- Starting backup at 2018-05-23:19:59:38
- 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=78 RECID=4 STAMP=976910379
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:59:39
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:19:59:54
- piece handle=0ht3ku1b_1_1 tag=2T_PLUG-PDB2_INCR0 comment=API Version 2.0,MMS Version 10.4.0.4
- channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:00:15
- Finished backup at 2018-05-23:19:59:54
- Starting backup at 2018-05-23:19:59:54
- 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=00011 name=/u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- input datafile file number=00030 name=/u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:19:59:55
- 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=00010 name=/u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- input datafile file number=00012 name=/u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- channel ORA_SBT_TAPE_2: starting piece 1 at 2018-05-23:19:59:55
复制代码
当再次使用 list backup ...看到PDB2多了几个备份集(在备份恢复的视角看,插件数据库就是一群特定表空间):
- RMAN> list backup of pluggable database pdb2;
- List of Backup Sets
- ===================
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 9 Incr 0 465.75M SBT_TAPE 00:00:13 2018-05-23:19:51:50
- BP Key: 9 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 09t3kti9_1_1 Media: station90-000007
- List of Datafiles in backup set 9
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 11 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- 30 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 11 Incr 0 210.50M SBT_TAPE 00:00:11 2018-05-23:19:52:15
- BP Key: 11 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 0ct3ktj4_1_1 Media: station90-000008
- List of Datafiles in backup set 11
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 10 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- 12 0 Incr 4293929 2018-05-23:19:52:04 /u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 18 Incr 0 210.50M SBT_TAPE 00:00:10 2018-05-23:20:00:05
- BP Key: 18 Status: AVAILABLE Compressed: NO Tag: 2T_PLUG-PDB2_INCR0
- Handle: 0jt3ku1r_1_1 Media: station90-000007
- List of Datafiles in backup set 18
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 10 0 Incr 4294494 2018-05-23:19:59:55 /u01/app/oracle/oradata/cdb2/pdb2_1/system01.dbf
- 12 0 Incr 4294494 2018-05-23:19:59:55 /u01/app/oracle/oradata/cdb2/pdb2_1/users01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 19 Incr 0 465.75M SBT_TAPE 00:00:20 2018-05-23:20:00:15
- BP Key: 19 Status: AVAILABLE Compressed: NO Tag: 2T_PLUG-PDB2_INCR0
- Handle: 0it3ku1r_1_1 Media: station90-000008
- List of Datafiles in backup set 19
- Container ID: 3, PDB Name: PDB2
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 11 0 Incr 4294492 2018-05-23:19:59:55 /u01/app/oracle/oradata/cdb2/pdb2_1/sysaux01.dbf
- 30 0 Incr 4294492 2018-05-23:19:59:55 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- RMAN>
复制代码
也可更小范围备份和查看备份:
- RMAN> list backup of tablespace pdb2:ldata;
- List of Backup Sets
- ===================
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 9 Incr 0 465.75M SBT_TAPE 00:00:13 2018-05-23:19:51:50
- BP Key: 9 Status: AVAILABLE Compressed: NO Tag: 1T_WHOLE_INCR0
- Handle: 09t3kti9_1_1 Media: station90-000007
- List of Datafiles in backup set 9
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 30 0 Incr 4293917 2018-05-23:19:51:37 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- BS Key Type LV Size Device Type Elapsed Time Completion Time
- ------- ---- -- ---------- ----------- ------------ -------------------
- 19 Incr 0 465.75M SBT_TAPE 00:00:20 2018-05-23:20:00:15
- BP Key: 19 Status: AVAILABLE Compressed: NO Tag: 2T_PLUG-PDB2_INCR0
- Handle: 0it3ku1r_1_1 Media: station90-000008
- List of Datafiles in backup set 19
- File LV Type Ckp SCN Ckp Time Name
- ---- -- ---- ---------- ------------------- ----
- 30 0 Incr 4294492 2018-05-23:19:59:55 /u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
复制代码- RMAN> backup tag '3T_PDB2-LDATA_INCR0' incremental level 0 tablespace pdb2:ldata;
- Starting backup at 2018-05-23:20:06:49
- 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=00030 name=/u01/app/oracle/oradata/cdb2/pdb2_1/ldata_01.dbf
- channel ORA_SBT_TAPE_1: starting piece 1 at 2018-05-23:20:06:49
- channel ORA_SBT_TAPE_1: finished piece 1 at 2018-05-23:20:07:14
- piece handle=0mt3kuep_1_1 tag=3T_PDB2-LDATA_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 2018-05-23:20:07:14
- Starting Control File and SPFILE Autobackup at 2018-05-23:20:07:14
- piece handle=c-723357305-20180523-02 comment=API Version 2.0,MMS Version 10.4.0.4
- Finished Control File and SPFILE Autobackup at 2018-05-23:20:07:40
- RMAN>
复制代码
如果做多租户AG的7-4实验,在12.1.0.2没有关闭CDB2的情况下,可能在recover tablespace pdb2:system之后,会遇到:
则这样解决:
- RMAN> recover pluggable database pdb2;
- Starting recover at 2018-05-23:20:59:41
- 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
- starting media recovery
- media recovery complete, elapsed time: 00:00:01
- Finished recover at 2018-05-23:20:59:42
- RMAN>
复制代码
在根容器本身上面,可以做传统意义的不完全恢复, 插件级别的恢复都是完全恢复。
多租户AG的7-5练习:
PDB TSPITR和传统的TSPITR注意几点:
1. 时间格式export NLS_DATE_FORMAT="YYYY-MM-DD:HH24:MI:SS"。
2. 如果要恢复的对象在users表空间上:alter database default tablespace example。
3. 如果db_recovery_file_dest没有设置,设置成:alter system set db_recovery_file_dest='/u01/app/oracle/oradata'。
4. 对users表空间进行自包含集检查。并处理。
5. alter tablespace users offline;
6.
- [oracle@station90 ~]$ date
- 2018年 05月 24日 星期四 15:17:55 CST
- [oracle@station90 ~]$ sqlplus /nolog
- SQL*Plus: Release 11.2.0.3.0 Production on Thu May 24 15:19:35 2018
- Copyright (c) 1982, 2011, Oracle. All rights reserved.
- SQL> conn / as sysdba
- Connected.
- SQL> alter database default tablespace example;
- Database altered.
- SQL> select table_name from dba_tables where tablespace_name='USERS';
- TABLE_NAME
- ------------------------------
- TTESTBOTANG_5
- DEPT
- EMP
- BONUS
- SALGRADE
- PRODUCT_REF_LIST_NESTEDTAB
- SUBCATEGORY_REF_LIST_NESTEDTAB
- 7 rows selected.
- SQL> select owner,table_name from dba_tables where tablespace_name='USERS';
- OWNER TABLE_NAME
- ------------------------------ ------------------------------
- SYS TTESTBOTANG_5
- SCOTT DEPT
- SCOTT EMP
- SCOTT BONUS
- SCOTT SALGRADE
- OE PRODUCT_REF_LIST_NESTEDTAB
- OE SUBCATEGORY_REF_LIST_NESTEDTAB
- 7 rows selected.
- SQL> alter table TTESTBOTANG_5 move tablespace system;
- Table altered.
- SQL> alter tablespace users offline ;
- Tablespace altered.
- SQL> exit
- Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
- With the Partitioning, Automatic Storage Management, OLAP, Data Mining
- and Real Application Testing options
- [oracle@station90 ~]$ rman target /
- Recovery Manager: Release 11.2.0.3.0 - Production on Thu May 24 15:22:53 2018
- Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
- connected to target database: ORCL (DBID=1504656014)
- RMAN> recover tablespace users
- 2> until time '2018-05-24:15:19:02'
- 3> AUXILIARY DESTINATION '/u01/app/oracle/oradata'
- 4> ;
- Starting recover at 2018-05-24:15:25:29
- using target database control file instead of recovery catalog
- allocated channel: ORA_DISK_1
- channel ORA_DISK_1: SID=141 device type=DISK
- RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
- List of tablespaces expected to have UNDO segments
- Tablespace SYSTEM
- Tablespace UNDOTBS1
- Creating automatic instance, with SID='jDzu'
- initialization parameters used for automatic instance:
- db_name=ORCL
- db_unique_name=jDzu_tspitr_ORCL
- compatible=11.2.0.0.0
- db_block_size=8192
- db_files=200
- sga_target=280M
- processes=50
- db_create_file_dest=/u01/app/oracle/oradata
- log_archive_dest_1='location=/u01/app/oracle/oradata'
- #No auxiliary parameter file used
- starting up automatic instance ORCL
- Oracle instance started
- Total System Global Area 292278272 bytes
- Fixed Size 2227744 bytes
- Variable Size 100663776 bytes
- Database Buffers 184549376 bytes
- Redo Buffers 4837376 bytes
- Automatic instance created
- Running TRANSPORT_SET_CHECK on recovery set tablespaces
- TRANSPORT_SET_CHECK completed successfully
- contents of Memory Script:
- {
- # set requested point in time
- set until time "2018-05-24:15:19:02";
- # restore the controlfile
- restore clone controlfile;
- # mount the controlfile
- sql clone 'alter database mount clone database';
- # archive current online log
- sql 'alter system archive log current';
- # avoid unnecessary autobackups for structural changes during TSPITR
- sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
- }
- executing Memory Script
- executing command: SET until clause
- Starting restore at 2018-05-24:15:26:07
- allocated channel: ORA_AUX_DISK_1
- channel ORA_AUX_DISK_1: SID=80 device type=DISK
- channel ORA_AUX_DISK_1: starting datafile backup set restore
- channel ORA_AUX_DISK_1: restoring control file
- channel ORA_AUX_DISK_1: reading from backup piece +FRA/orcl/backupset/2018_05_24/ncsnf0_tag20180524t151653_0.363.976979831
- channel ORA_AUX_DISK_1: piece handle=+FRA/orcl/backupset/2018_05_24/ncsnf0_tag20180524t151653_0.363.976979831 tag=TAG20180524T151653
- channel ORA_AUX_DISK_1: restored backup piece 1
- channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:05
- output file name=/u01/app/oracle/oradata/ORCL/controlfile/o1_mf_fjdt8m66_.ctl
- Finished restore at 2018-05-24:15:26:12
- sql statement: alter database mount clone database
- sql statement: alter system archive log current
- sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
- contents of Memory Script:
- {
- # set requested point in time
- set until time "2018-05-24:15:19:02";
- # set destinations for recovery set and auxiliary set datafiles
- set newname for clone datafile 1 to new;
- set newname for clone datafile 3 to new;
- set newname for clone datafile 2 to new;
- set newname for clone tempfile 1 to new;
- set newname for datafile 4 to
- "+DATA/orcl/datafile/users.263.976875167";
- # switch all tempfiles
- switch clone tempfile all;
- # restore the tablespaces in the recovery set and the auxiliary set
- restore clone datafile 1, 3, 2, 4;
- switch clone datafile all;
- }
- executing Memory Script
- executing command: SET until clause
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- renamed tempfile 1 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_temp_%u_.tmp in control file
- Starting restore at 2018-05-24:15:26:17
- using channel ORA_AUX_DISK_1
- channel ORA_AUX_DISK_1: starting datafile backup set restore
- channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
- channel ORA_AUX_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_%u_.dbf
- channel ORA_AUX_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_%u_.dbf
- channel ORA_AUX_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_%u_.dbf
- channel ORA_AUX_DISK_1: restoring datafile 00004 to +DATA/orcl/datafile/users.263.976875167
- channel ORA_AUX_DISK_1: reading from backup piece +FRA/orcl/backupset/2018_05_24/nnndf0_tag20180524t151653_0.257.976979815
- channel ORA_AUX_DISK_1: piece handle=+FRA/orcl/backupset/2018_05_24/nnndf0_tag20180524t151653_0.257.976979815 tag=TAG20180524T151653
- channel ORA_AUX_DISK_1: restored backup piece 1
- channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
- Finished restore at 2018-05-24:15:26:25
- datafile 1 switched to datafile copy
- input datafile copy RECID=5 STAMP=976980385 file name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_fjdt8t02_.dbf
- datafile 3 switched to datafile copy
- input datafile copy RECID=6 STAMP=976980385 file name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_fjdt8t11_.dbf
- datafile 2 switched to datafile copy
- input datafile copy RECID=7 STAMP=976980385 file name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_fjdt8t0k_.dbf
- contents of Memory Script:
- {
- # set requested point in time
- set until time "2018-05-24:15:19:02";
- # online the datafiles restored or switched
- sql clone "alter database datafile 1 online";
- sql clone "alter database datafile 3 online";
- sql clone "alter database datafile 2 online";
- sql clone "alter database datafile 4 online";
- # recover and open resetlogs
- recover clone database tablespace "USERS", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;
- alter clone database open resetlogs;
- }
- executing Memory Script
- executing command: SET until clause
- sql statement: alter database datafile 1 online
- sql statement: alter database datafile 3 online
- sql statement: alter database datafile 2 online
- sql statement: alter database datafile 4 online
- Starting recover at 2018-05-24:15:26:25
- using channel ORA_AUX_DISK_1
- starting media recovery
- archived log for thread 1 with sequence 5 is already on disk as file +FRA/orcl/archivelog/2018_05_24/thread_1_seq_5.362.976979937
- archived log for thread 1 with sequence 6 is already on disk as file +FRA/orcl/archivelog/2018_05_24/thread_1_seq_6.361.976979937
- archived log for thread 1 with sequence 7 is already on disk as file +FRA/orcl/archivelog/2018_05_24/thread_1_seq_7.360.976979947
- archived log file name=+FRA/orcl/archivelog/2018_05_24/thread_1_seq_5.362.976979937 thread=1 sequence=5
- archived log file name=+FRA/orcl/archivelog/2018_05_24/thread_1_seq_6.361.976979937 thread=1 sequence=6
- archived log file name=+FRA/orcl/archivelog/2018_05_24/thread_1_seq_7.360.976979947 thread=1 sequence=7
- media recovery complete, elapsed time: 00:00:01
- Finished recover at 2018-05-24:15:26:28
- database opened
- contents of Memory Script:
- {
- # make read only the tablespace that will be exported
- sql clone 'alter tablespace USERS read only';
- # create directory for datapump import
- sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
- /u01/app/oracle/oradata''";
- # create directory for datapump export
- sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
- /u01/app/oracle/oradata''";
- }
- executing Memory Script
- sql statement: alter tablespace USERS read only
- sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/oradata''
- sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/oradata''
- Performing export of metadata...
- EXPDP> Starting "SYS"."TSPITR_EXP_jDzu":
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_BODY
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/XMLSCHEMA/XMLSCHEMA
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX/INDEX
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
- EXPDP> Master table "SYS"."TSPITR_EXP_jDzu" successfully loaded/unloaded
- EXPDP> ******************************************************************************
- EXPDP> Dump file set for SYS.TSPITR_EXP_jDzu is:
- EXPDP> /u01/app/oracle/oradata/tspitr_jDzu_44512.dmp
- EXPDP> ******************************************************************************
- EXPDP> Datafiles required for transportable tablespace USERS:
- EXPDP> +DATA/orcl/datafile/users.263.976875167
- EXPDP> Job "SYS"."TSPITR_EXP_jDzu" successfully completed at 15:27:36
- Export completed
- contents of Memory Script:
- {
- # shutdown clone before import
- shutdown clone immediate
- # drop target tablespaces before importing them back
- sql 'drop tablespace USERS including contents keep datafiles';
- }
- executing Memory Script
- database closed
- database dismounted
- Oracle instance shut down
- sql statement: drop tablespace USERS including contents keep datafiles
- Performing import of metadata...
- IMPDP> Master table "SYS"."TSPITR_IMP_jDzu" successfully loaded/unloaded
- IMPDP> Starting "SYS"."TSPITR_IMP_jDzu":
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
- IMPDP> ORA-31684: Object type TYPE:"OE"."SHIPPING_INSTRUCTIONS_T" already existsORA-31684: Object type TYPE:"OE"."REJECTION_T" already existsORA-31684: Object type TYPE:"OE"."ACTION_T" already existsORA-31684: Object type TYPE:"OE"."PART_T" already existsORA-31684: Object type TYPE:"OE"."PRODUCT_REF_LIST_TYP" already existsORA-31684: Object type TYPE:"OE"."CATEGORY_TYP" already existsORA-31684: Object type TYPE:"OE"."SUBCATEGORY_REF_LIST_TYP" already existsORA-31684: Object type TYPE:"OE"."ACTION_V" already existsORA-31684: Object type TYPE:"OE"."LINEITEM_T" already existsORA-31684: Object type TYPE:"OE"."LEAF_CATEGORY_TYP" already existsORA-31684: Object type TYPE:"OE"."COMPOSITE_CATEGORY_TYP" already existsORA-31684: Object type TYPE:"OE"."ACTIONS_T" already existsORA-31684: Object type TYPE:"OE"."LINEITEM_V" already existsORA-31684: Object type TYPE:"OE"."CATALOG_TYP" already existsORA-31684: Object type TYPE:"OE"."LINEITEMS_T" already existsORA-31684: Object type TYPE:"OE"."PURCHASEORDER_T" already exists
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_BODY
- IMPDP> ORA-31684: Object type TYPE_BODY:"OE"."LEAF_CATEGORY_TYP" already existsORA-31684: Object type TYPE_BODY:"OE"."COMPOSITE_CATEGORY_TYP" already existsORA-31684: Object type TYPE_BODY:"OE"."CATALOG_TYP" already exists
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/XMLSCHEMA/XMLSCHEMA
- IMPDP> ORA-39083: Object type XMLSCHEMA failed to create with error:
- ORA-31085: schema "http://localhost:8080/source/schemas/poSource/xsd/purchaseOrder.xsd" already registered
- Failing sql is:
- BEGIN dbms_xmlschema.registerSchema(:1, :2, (:3 = 1), FALSE,FALSE,FALSE,FALSE, :4, options=> :5, schemaoid => :6, import_options => :7); END;
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
- IMPDP> ORA-39083: Object type TABLE:"OE"."PURCHASEORDER" failed to create with error:
- ORA-31061: XDB error: DBMS_XDBZ.ENABLE_HIERARCHY
- ORA-06512: at "XDB.DBMS_XDBZ0", line 131
- ORA-06512: at "XDB.DBMS_XDBZ0", line 588
- ORA-01031: insufficient privileges
- Failing sql is:
- BEGIN DBMS_XDBZ.ENABLE_HIERARCHY('"OE"','"PURCHASEORDER"'); END;
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX/INDEX
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
- IMPDP> Job "SYS"."TSPITR_IMP_jDzu" completed with 21 error(s) at 15:28:05
- Import completed
- contents of Memory Script:
- {
- # make read write and offline the imported tablespaces
- sql 'alter tablespace USERS read write';
- sql 'alter tablespace USERS offline';
- # enable autobackups after TSPITR is finished
- sql 'begin dbms_backup_restore.AutoBackupFlag(TRUE); end;';
- }
- executing Memory Script
- sql statement: alter tablespace USERS read write
- sql statement: alter tablespace USERS offline
- sql statement: begin dbms_backup_restore.AutoBackupFlag(TRUE); end;
- Removing automatic instance
- Automatic instance removed
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_temp_fjdt97cq_.tmp deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_fjdt963f_.log deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_2_fjdt95n7_.log deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_1_fjdt9547_.log deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_fjdt8t0k_.dbf deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_fjdt8t11_.dbf deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_fjdt8t02_.dbf deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/controlfile/o1_mf_fjdt8m66_.ctl deleted
- Finished recover at 2018-05-24:15:28:07
- RMAN> exit
- Recovery Manager complete.
- [oracle@station90 ~]$ sqlplus /nolog
- SQL*Plus: Release 11.2.0.3.0 Production on Thu May 24 15:32:45 2018
- Copyright (c) 1982, 2011, Oracle. All rights reserved.
- SQL> conn / as sysdba
- Connected.
- SQL> alter tablespace users online;
- Tablespace altered.
- SQL> select* from hr.t126;
- A
- ----------
- 1
- SQL>
复制代码
|
|