rman multisection backup试验之二

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 SizeDevice Type Elapsed Time Completion Time——- —- — ———- ———– ———— —————2Full 9.36MDISK00:00:0419-FEB-15BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20150219T011148Piece Name: /u02/09pvkh4o_1_1 SPFILE Included: Modification time: 19-FEB-15 SPFILE db_unique_name: TESTBS Key Type LV SizeDevice Type Elapsed Time Completion Time——- —- — ———- ———– ———— —————5Full 80.00KDISK00:00:0119-FEB-15BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20150219T024005Piece 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 SizeDevice Type Elapsed Time Completion Time——- —- — ———- ———– ———— —————2Full 9.36MDISK00:00:0419-FEB-15BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20150219T011148Piece Name: /u02/09pvkh4o_1_1 Control File Included: Ckp SCN: 3198153Ckp time: 19-FEB-15BS Key Type LV SizeDevice Type Elapsed Time Completion Time——- —- — ———- ———– ———— —————3Full 9.33MDISK00:00:0619-FEB-15BP Key: 5 Status: AVAILABLE Compressed: NO Tag: TAG20150219T024005Piece Name: /u02/disk2/0bpvkm86_1_1 Control File Included: Ckp SCN: 3201429Ckp time: 19-FEB-15RMAN> RMAN> list backup of datafile 1;List of Backup Sets===================BS Key Type LV SizeDevice Type Elapsed Time Completion Time——- —- — ———- ———– ———— —————1Full 703.80M DISK00:00:5919-FEB-15List of Datafiles in backup set 1 File LV Type Ckp SCN Ckp Time Name —- — —- ———- ——— —- 1Full 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 ———– ———— ————— ———- — DISK00:00:5919-FEB-15NOTAG20150219T011148List of Backup Pieces for backup set 1 Copy #1BP Key Pc# StatusPiece Name——- — ———– ———-11 AVAILABLE /u02/06pvkh2l_1_122 AVAILABLE /u02/06pvkh2l_2_133 AVAILABLE /u02/06pvkh2l_3_1BS Key Type LV SizeDevice Type Elapsed Time Completion Time——- —- — ———- ———– ———— —————4Full 703.77M DISK00:01:1919-FEB-15List of Datafiles in backup set 4 File LV Type Ckp SCN Ckp Time Name —- — —- ———- ——— —- 1Full 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 ———– ———— ————— ———- — DISK00:01:1919-FEB-15NOTAG20150219T024005List of Backup Pieces for backup set 4 Copy #1BP Key Pc# StatusPiece Name——- — ———– ———-61 AVAILABLE /u02/disk1/0apvkm85_1_172 AVAILABLE /u02/disk2/0apvkm85_2_183 AVAILABLE /u02/disk1/0apvkm85_3_1RMAN>

,你在潮湿的风中感受到了平稳的呼吸,多好听啊,

rman multisection backup试验之二

相关文章:

你感兴趣的文章:

标签云: