When one use the backup database plus archivelog command to back up archive logs, RMAN will perform the following operations in the sequence listed here:
- Run the "alter system archive log current" command.
- Run the "backup archivelog all" command.
- Back up the rest of the data files specified by the backup database command.
- Run the "alter system archive log current" command.
- Back up the new archive logs generated during the backup operation.
[oracle@oel6 ~]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 22 22:40:28 2015
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: TESTDB (DBID=2675922698)
RMAN> backup database plus archivelog;
Starting backup at 22-OCT-15
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=56 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=40 RECID=38 STAMP=893803250
channel ORA_DISK_1: starting piece 1 at 22-OCT-15
channel ORA_DISK_1: finished piece 1 at 22-OCT-15
piece handle=/u01/app/backup/TESTDB_65_%1.bak tag=TAG20151022T224054 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
Finished backup at 22-OCT-15
Starting backup at 22-OCT-15
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=+DATA/testdb/datafile/system.256.892594189
input datafile file number=00002 name=+DATA/testdb/datafile/sysaux.257.892594189
input datafile file number=00004 name=+DATA/testdb/datafile/users.259.892594189
input datafile file number=00003 name=+DATA/testdb/datafile/undotbs1.258.892594189
channel ORA_DISK_1: starting piece 1 at 22-OCT-15
channel ORA_DISK_1: finished piece 1 at 22-OCT-15
piece handle=/u01/app/backup/TESTDB_66_%1.bak tag=TAG20151022T224104 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:45
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 22-OCT-15
channel ORA_DISK_1: finished piece 1 at 22-OCT-15
piece handle=/u01/app/backup/TESTDB_67_%1.bak tag=TAG20151022T224104 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 22-OCT-15
Starting backup at 22-OCT-15
current log archived
using channel ORA_DISK_1
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=39 STAMP=893803395
channel ORA_DISK_1: starting piece 1 at 22-OCT-15
channel ORA_DISK_1: finished piece 1 at 22-OCT-15
piece handle=/u01/app/backup/TESTDB_68_%1.bak tag=TAG20151022T224317 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 22-OCT-15
RMAN>
No comments:
Post a Comment