今天是2013-11-25,有个陌生的朋友说rman备份数据库的时候会备份表空间,下面进行如下讨论:
事实验证:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@oracle-one RHYS]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Mon Nov 25 16:40:47 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: RHYS (DBID=2743302915)
RMAN> backup database include current controlfile plus archivelog delete input;
Starting backup at 25-NOV-13
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=32 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=1 sequence=49 RECID=6 STAMP=832368653
input archived log thread=1 sequence=50 RECID=7 STAMP=832368754
input archived log thread=1 sequence=51 RECID=8 STAMP=832369118
input archived log thread=1 sequence=52 RECID=9 STAMP=832412860
input archived log thread=1 sequence=53 RECID=10 STAMP=832437672
channel ORA_DISK_1: starting piece 1 at 25-NOV-13
channel ORA_DISK_1: finished piece 1 at 25-NOV-13
piece handle=/opt/app/oracle/fast_recovery_area/RHYS/backupset/2013_11_25/o1_mf_annnn_TAG20131125T164113_99639b1m_.bkp tag=TAG20131125T164113 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:08
channel ORA_DISK_1: deleting archived log(s)