1. Backup the database plus archivelog
RMAN> backup database
2> tag="full_bkp_database"
3> plus archivelog
4> tag="bkp_archivelog_all";
The command backup database plus archivelog performs these operation in sequence
(a).Run the alter system archive log current command
(b).Run the backup archivelog all command.
(c).Backup the datafiles in the database
(d).Run the alter system archive log current command.
(e).Backup the new archivelogs generated during the backup operation.
2. Check the output
Starting backup at 15-MAY-2014 01:53:32
current log archived (a)
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=1 RECID=19 STAMP=847442778
input archived log thread=1 sequence=2 RECID=20 STAMP=847518670
input archived log thread=1 sequence=3 RECID=21 STAMP=847518671
input archived log thread=1 sequence=4 RECID=22 STAMP=847518681
input archived log thread=1 sequence=5 RECID=23 STAMP=847527192
input archived log thread=1 sequence=6 RECID=34 STAMP=847534249
input archived log thread=1 sequence=7 RECID=32 STAMP=847534249
input archived log thread=1 sequence=8 RECID=33 STAMP=847534249
channel ORA_DISK_1: starting piece 1 at 15-MAY-2014 01:53:34
channel ORA_DISK_1: finished piece 1 at 15-MAY-2014 01:53:41
piece handle=+DATA/cvrman/backupset/2014_05_15/annnf0_bkp_archivelog_all_0.291.847590815 tag=BKP_ARCHIVELOG_ALL comment=NONE (b)
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting compressed archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=1 RECID=35 STAMP=847534456
input archived log thread=1 sequence=2 RECID=37 STAMP=847534546
input archived log thread=1 sequence=3 RECID=38 STAMP=847589637
input archived log thread=1 sequence=4 RECID=39 STAMP=847589868
input archived log thread=1 sequence=5 RECID=40 STAMP=847590813
channel ORA_DISK_1: starting piece 1 at 15-MAY-2014 01:53:42
channel ORA_DISK_1: finished piece 1 at 15-MAY-2014 01:53:57
piece handle=+DATA/cvrman/backupset/2014_05_15/annnf0_bkp_archivelog_all_0.305.847590823 tag=BKP_ARCHIVELOG_ALL comment=NONE (b)
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
Finished backup at 15-MAY-2014 01:53:57
Starting backup at 15-MAY-2014 01:53:57
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=+DATA/cvrman/datafile/system.256.847354793
input datafile file number=00002 name=+DATA/cvrman/datafile/sysaux.257.847354793
input datafile file number=00005 name=+DATA/cvrman/datafile/example.308.847525493
input datafile file number=00003 name=+DATA/cvrman/datafile/undotbs1.258.847354795
input datafile file number=00006 name=+DATA/cvrman/datafile/tbs1.294.847433665
input datafile file number=00004 name=+DATA/cvrman/datafile/users.259.847354795
channel ORA_DISK_1: starting piece 1 at 15-MAY-2014 01:53:59
channel ORA_DISK_1: finished piece 1 at 15-MAY-2014 01:59:15
piece handle=+DATA/cvrman/backupset/2014_05_15/nnndf0_full_bkp_database_0.304.847590839 tag=FULL_BKP_DATABASE comment=NONE (c)
channel ORA_DISK_1: backup set complete, elapsed time: 00:05:16
Finished backup at 15-MAY-2014 01:59:15
Starting backup at 15-MAY-2014 01:59:16
current log archived (d)
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=6 RECID=41 STAMP=847591156
channel ORA_DISK_1: starting piece 1 at 15-MAY-2014 01:59:17
channel ORA_DISK_1: finished piece 1 at 15-MAY-2014 01:59:18
piece handle=+DATA/cvrman/backupset/2014_05_15/annnf0_bkp_archivelog_all_0.297.847591157 tag=BKP_ARCHIVELOG_ALL comment=NONE (e)
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 15-MAY-2014 01:59:18
Starting Control File and SPFILE Autobackup at 15-MAY-2014 01:59:18
piece handle=+DATA/cvrman/autobackup/2014_05_15/s_847591159.278.847591161 comment=NONE
Finished Control File and SPFILE Autobackup at 15-MAY-2014 01:59:22
No comments:
Post a Comment