rman multisection backup實驗之二,rmanmultisection

來源:互聯網
上載者:User

rman multisection backup實驗之二,rmanmultisection

2個通道中使用section size進行備份。

[oracle@rhel63single ~]$ rman target /Recovery Manager: Release 11.2.0.4.0 - Production on Thu Feb 19 01:07:28 2015Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.connected to target database: TEST (DBID=2106028980)RMAN> RUN2> {3>   ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/u02/disk1/%U';4>   ALLOCATE CHANNEL disk2 DEVICE TYPE DISK FORMAT '/u02/disk2/%U';5>   backup section size 300m datafile 1;6> } released channel: ORA_DISK_1allocated channel: disk1channel disk1: SID=133 device type=DISKallocated channel: disk2channel disk2: SID=70 device type=DISKStarting backup at 19-FEB-15channel disk1: starting full datafile backup setchannel disk1: specifying datafile(s) in backup setinput datafile file number=00001 name=/u01/app/oracle/oradata/test/system01.dbf---->system01.dbfbacking up blocks 1 through 38400-------------------------------------------------->注意此處channel disk1: starting piece 1 at 19-FEB-15channel disk2: starting full datafile backup setchannel disk2: specifying datafile(s) in backup setincluding current control file in backup set--------------------------------------->控制檔案的備份channel disk2: starting piece 1 at 19-FEB-15channel disk2: finished piece 1 at 19-FEB-15piece handle=/u02/disk2/0bpvkm86_1_1 tag=TAG20150219T024005 comment=NONE----------->控制檔案的備份產生完畢(從下面的list backup of controlfile看出來的),不過僅僅根據上面的輸出log來判斷,還真判斷不出來是控制檔案的備份。channel disk2: backup set complete, elapsed time: 00:00:07channel disk2: starting full datafile backup setchannel disk2: specifying datafile(s) in backup setinput datafile file number=00001 name=/u01/app/oracle/oradata/test/system01.dbfbacking up blocks 38401 through 76800---------------------------------------------->注意此處,以下簡稱第一個sectionchannel disk2: starting piece 2 at 19-FEB-15channel disk1: finished piece 1 at 19-FEB-15piece handle=/u02/disk1/0apvkm85_1_1 tag=TAG20150219T024005 comment=NONE----------->第一個section的backuppiece 產生完畢channel disk1: backup set complete, elapsed time: 00:00:29channel disk1: starting full datafile backup setchannel disk1: specifying datafile(s) in backup setinput datafile file number=00001 name=/u01/app/oracle/oradata/test/system01.dbfbacking up blocks 76801 through 102400---------------------------------------------->注意此處,以下簡稱第二個sectionchannel disk1: starting piece 3 at 19-FEB-15channel disk2: finished piece 2 at 19-FEB-15piece handle=/u02/disk2/0apvkm85_2_1 tag=TAG20150219T024005 comment=NONE----------->第二個section的backuppiece 產生完畢channel disk2: backup set complete, elapsed time: 00:00:47channel disk2: starting full datafile backup setchannel disk2: specifying datafile(s) in backup setincluding current SPFILE in backup setchannel disk2: starting piece 1 at 19-FEB-15channel disk1: finished piece 3 at 19-FEB-15piece handle=/u02/disk1/0apvkm85_3_1 tag=TAG20150219T024005 comment=NONE----------->第三個section的backuppiece 產生完畢channel disk1: backup set complete, elapsed time: 00:00:35channel disk2: finished piece 1 at 19-FEB-15piece handle=/u02/disk2/0epvkmak_1_1 tag=TAG20150219T024005 comment=NONE-----------> spfile的備份(從下面的list backup of spfile看出來的)channel disk2: backup set complete, elapsed time: 00:00:01Finished backup at 19-FEB-15released channel: disk1released channel: disk2RMAN> list backup of spfile;List of Backup Sets===================BS Key  Type LV Size       Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------2       Full    9.36M      DISK        00:00:04     19-FEB-15              BP Key: 4   Status: AVAILABLE  Compressed: NO  Tag: TAG20150219T011148        Piece Name: /u02/09pvkh4o_1_1  SPFILE Included: Modification time: 19-FEB-15  SPFILE db_unique_name: TESTBS Key  Type LV Size       Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------5       Full    80.00K     DISK        00:00:01     19-FEB-15              BP Key: 9   Status: AVAILABLE  Compressed: NO  Tag: TAG20150219T024005        Piece Name: /u02/disk2/0epvkmak_1_1  SPFILE Included: Modification time: 19-FEB-15  SPFILE db_unique_name: TESTRMAN> list backup of controlfile;List of Backup Sets===================BS Key  Type LV Size       Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------2       Full    9.36M      DISK        00:00:04     19-FEB-15              BP Key: 4   Status: AVAILABLE  Compressed: NO  Tag: TAG20150219T011148        Piece Name: /u02/09pvkh4o_1_1  Control File Included: Ckp SCN: 3198153      Ckp time: 19-FEB-15BS Key  Type LV Size       Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------3       Full    9.33M      DISK        00:00:06     19-FEB-15              BP Key: 5   Status: AVAILABLE  Compressed: NO  Tag: TAG20150219T024005        Piece Name: /u02/disk2/0bpvkm86_1_1  Control File Included: Ckp SCN: 3201429      Ckp time: 19-FEB-15RMAN> RMAN> list backup of datafile 1;List of Backup Sets===================BS Key  Type LV Size       Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------1       Full    703.80M    DISK        00:00:59     19-FEB-15        List of Datafiles in backup set 1  File LV Type Ckp SCN    Ckp Time  Name  ---- -- ---- ---------- --------- ----  1       Full 3198130    19-FEB-15 /u01/app/oracle/oradata/test/system01.dbf  Backup Set Copy #1 of backup set 1  Device Type Elapsed Time Completion Time Compressed Tag  ----------- ------------ --------------- ---------- ---  DISK        00:00:59     19-FEB-15       NO         TAG20150219T011148    List of Backup Pieces for backup set 1 Copy #1    BP Key  Pc# Status      Piece Name    ------- --- ----------- ----------    1       1   AVAILABLE   /u02/06pvkh2l_1_1    2       2   AVAILABLE   /u02/06pvkh2l_2_1    3       3   AVAILABLE   /u02/06pvkh2l_3_1BS Key  Type LV Size       Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------4       Full    703.77M    DISK        00:01:19     19-FEB-15        List of Datafiles in backup set 4  File LV Type Ckp SCN    Ckp Time  Name  ---- -- ---- ---------- --------- ----  1       Full 3201428    19-FEB-15 /u01/app/oracle/oradata/test/system01.dbf  Backup Set Copy #1 of backup set 4  Device Type Elapsed Time Completion Time Compressed Tag  ----------- ------------ --------------- ---------- ---  DISK        00:01:19     19-FEB-15       NO         TAG20150219T024005    List of Backup Pieces for backup set 4 Copy #1    BP Key  Pc# Status      Piece Name    ------- --- ----------- ----------    6       1   AVAILABLE   /u02/disk1/0apvkm85_1_1    7       2   AVAILABLE   /u02/disk2/0apvkm85_2_1    8       3   AVAILABLE   /u02/disk1/0apvkm85_3_1RMAN> 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.