12c rman-3 PDB backup

Root容器下备份pdb

[oracle@oel12c1 ~]$ rman target /

Recovery Manager: Release 12.1.0.2.0 - Production on Wed Jan 14 11:02:41 2015

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

connected to target database: CDBRAC (DBID=339653049)

RMAN> backup pluggable database pdbrac plus archivelog;
Starting backup at 14-JAN-15
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=55 instance=cdbrac1 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=82 instance=cdbrac1 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=104 instance=cdbrac1 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=2 sequence=6 RECID=1 STAMP=868875624
channel ORA_DISK_1: starting piece 1 at 14-JAN-15
channel ORA_DISK_2: starting archived log backup set
channel ORA_DISK_2: specifying archived log(s) in backup set
input archived log thread=1 sequence=39 RECID=2 STAMP=868962306
channel ORA_DISK_2: starting piece 1 at 14-JAN-15
channel ORA_DISK_3: starting archived log backup set
channel ORA_DISK_3: specifying archived log(s) in backup set
input archived log thread=1 sequence=40 RECID=3 STAMP=868964590
channel ORA_DISK_3: starting piece 1 at 14-JAN-15
channel ORA_DISK_1: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/BACKUPSET/2015_01_14/annnf0_tag20150114t110313_0.310.868964593 tag=TAG20150114T110313 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:08
channel ORA_DISK_2: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/BACKUPSET/2015_01_14/annnf0_tag20150114t110313_0.311.868964593 tag=TAG20150114T110313 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:08
channel ORA_DISK_3: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/BACKUPSET/2015_01_14/annnf0_tag20150114t110313_0.312.868964595 tag=TAG20150114T110313 comment=NONE
channel ORA_DISK_3: backup set complete, elapsed time: 00:00:07
Finished backup at 14-JAN-15

Starting backup at 14-JAN-15
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00012 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/tbs_12c_01.dbf
input datafile file number=00011 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/users.300.854060075
channel ORA_DISK_1: starting piece 1 at 14-JAN-15
channel ORA_DISK_2: starting full datafile backup set
channel ORA_DISK_2: specifying datafile(s) in backup set
input datafile file number=00010 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/sysaux.298.854059659
input datafile file number=00009 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/system.297.854059659
channel ORA_DISK_2: starting piece 1 at 14-JAN-15
channel ORA_DISK_1: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/BACKUPSET/2015_01_14/nnndf0_tag20150114t110322_0.313.868964603 tag=TAG20150114T110322 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:30
channel ORA_DISK_2: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/BACKUPSET/2015_01_14/nnndf0_tag20150114t110322_0.314.868964603 tag=TAG20150114T110322 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:01:40
Finished backup at 14-JAN-15

Starting backup at 14-JAN-15
current log archived
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=41 RECID=4 STAMP=868964703
channel ORA_DISK_1: starting piece 1 at 14-JAN-15
channel ORA_DISK_1: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/BACKUPSET/2015_01_14/annnf0_tag20150114t110504_0.315.868964705 tag=TAG20150114T110504 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 14-JAN-15

Starting Control File and SPFILE Autobackup at 14-JAN-15
piece handle=+DATA/CDBRAC/AUTOBACKUP/2015_01_14/s_868964706.316.868964707 comment=NONE
Finished Control File and SPFILE Autobackup at 14-JAN-15

登陆PDB备份

[oracle@oel12c1 backup]$ rman target  sys@pdbrac1

Recovery Manager: Release 12.1.0.2.0 - Production on Wed Jan 14 11:01:15 2015

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

target database Password: 
connected to target database: CDBRAC (DBID=339653049)

RMAN> backup database plus archivelog;
Starting backup at 14-JAN-15
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=114 instance=cdbrac1 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=99 instance=cdbrac1 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=112 instance=cdbrac1 device type=DISK
specification does not match any archived log in the repository
backup cancelled because there are no files to backup
Finished backup at 14-JAN-15

Starting backup at 14-JAN-15
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00012 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/tbs_12c_01.dbf
input datafile file number=00011 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/users.300.854060075
channel ORA_DISK_1: starting piece 1 at 14-JAN-15
channel ORA_DISK_2: starting full datafile backup set
channel ORA_DISK_2: specifying datafile(s) in backup set
input datafile file number=00010 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/sysaux.298.854059659
input datafile file number=00009 name=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/DATAFILE/system.297.854059659
channel ORA_DISK_2: starting piece 1 at 14-JAN-15
channel ORA_DISK_1: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/BACKUPSET/2015_01_14/nnndf0_tag20150114t110731_0.317.868964853 tag=TAG20150114T110731 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:28
channel ORA_DISK_2: finished piece 1 at 14-JAN-15
piece handle=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/BACKUPSET/2015_01_14/nnndf0_tag20150114t110731_0.318.868964853 tag=TAG20150114T110731 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:01:38
Finished backup at 14-JAN-15

Starting backup at 14-JAN-15
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
specification does not match any archived log in the repository
backup cancelled because there are no files to backup
Finished backup at 14-JAN-15

Starting Control File and SPFILE Autobackup at 14-JAN-15
piece handle=+DATA/CDBRAC/FF2EDCFA40AB210FE0430100007FBA4A/AUTOBACKUP/2015_01_14/s_868964951.319.868964953 comment=NONE
Finished Control File and SPFILE Autobackup at 14-JAN-15
此条目发表在rman分类目录。将固定链接加入收藏夹。

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s