Wednesday, March 30, 2016

RMAN: RMAN Command Line Reference Guide

Part NumberCommand #CommandObjective
Part-1Check RMAN configuration, backup and tablespaces
1show all;To check the current RMAN settings
2list backup;To check the available backups
3report schema;To check the tablespace and datafile sizes.
Part-2Backup Management
1delete backup;To delete the backup from RMAN’s repository
2delete force backup;To delete the backups from RMAN’s repository regardless of files physical availability
3delete noprompt force backup;To delete the backups from RMAN’s repository without prompting.
4DELETE BACKUP COMPLETED BEFORE 'SYSDATE-7'To delete backup that are older than 7 days
5DELETE BACKUP COMPLETED After 'SYSDATE-7'To delete backup from past 7 days til now
6DELETE BACKUP COMPLETED BETWEEN 'sysdate-7' and 'sysdate-3';To delete backup between two dates.
Part-3Archivelog Management
LIST1list archivelog all;To check the available archive logs
2list archivelog from time 'sysdate-2';To check the last 1 day of archivelogs
3list archivelog from scn 123;To list all archivelogs from a particular SCN
Note: You may have to check SCN # first from v$archived_log
4
DELETE1delete archivelog all;To delete all the archivelogs
2delete noprompt archivelog all;To delete the archivelogs without prompting
3delete force noprompt archivelog all;To delete the archivelogs withouth prompting and without checking its physical availability.
BACKUP1backup archivelog all;
2backup database plus archivelog all;
3backup archivelog all delete input;Backup all archivelog. Delete Once the backup is completed.
4backup archivelog all not backed up 1 times;Backup all archivelog which are not backed up atleast once.
5backup archivelog all not backed up 1 times delete all input;Backup all archivelog which are not backed up atleast once and then delete them.
6
Part-4Backup database manangement
1backup database;To take a full backup (without the intention of incremental backups).
2backup database plus archivelog;
3
4BACKUP INCREMENTAL LEVEL 0 database;To take a full backup (with the intention of incremental backups).
5backup incremental level 1 database;To take a incremental backup. A type of incremental backup that backs up all blocks that have changed since the most recent backup at level 1 or level 0
6BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;To take CUMALATIVE backup: This backups up all the blocks changed since the most recent backup at level 0. When recovering with cumulative incremental backups, only the most recent cumulative incremental backup needs to be applied.
Part-5Backup archivelog manangement
1delete expired backup;Any backupset which cannot be found on OS file directly (either delete or moved), are marked as expired.
2RESTORE DATABASE VALIDATE;Restore Validation confirms that a restore could be run,
by confirming that all database files exist and are free of
physical and logical corruption,
this does not generate any output
3delete obsolete;To delete any backups which are outside of retention policy.
4delete force obsolete;To delete any backups which are outside of retention policy regardless of its physical availability.
5delete force noprompt obsolete;To delete any backups which are outside of retention policy regardless of its physical availability. RMAN will not prompt user before deleting.
6delete archivelog until time '2007-04-30:09:30:50' backed up 1 times to device type disk;
Part-6Block corruption, datafile corruption,
1LIST FAILURE;This will list the detected failure with the FAILURE ID
2LIST FAILURE 101 DETAIL;Once the FAILURE ID is found out, you can find more details about that failure ID
3LIST RESTORE POINT ALL;You can list restore points known to the RMAN repository.
4LIST INCARNATIONYou can list all incarnations of a database. A new database incarnation is created when you open with the RESETLOGS option.
5
6VALIDAE DATABASE;To validate database.
If there is a datafile missing, it shows.
If there is a block corruption, it records in v$database_block_corruption; use "blockrecover corruption list;" to fix corrupted blocks
7VALIDATE CHECK logical database;

RMAN: How to schedule a Oracle 11g DB backup using RMAN and crontab

Let’s create two directories called scripts (to keep rman scripts) and log (to keep rman’s daily backup logs)
Linux-445:(none)>  mkdir -p ~/scripts/log

mkdir -p ~/scripts/log


Let’s create script that we will use to schedule the backups.

Linux-445:(none)> vi  ~/scripts/rman_PrimeDG.sh

#!/bin/bash
#Ameen Backup  Script
#Version1.0
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=PrimeDG
/u01/app/oracle/product/11.2.0/db_1/bin/rman target / @/home/oracle/scripts/rman.rcv
exit

Let’s create rman script which will be called by the above script.

vi ~/scripts/rman.rcv
run
{
backup database plus archivelog not backed up 1 times delete all input;
delete noprompt obsolete device type disk;
}

Change the permission on both rman scripts.

chmod 755 ~/scripts/rman.*

Add the job in crontab to run at 4AM everyday.
#########################2AM Full PrimeDG backup########################
00 17 * * * /home/oracle/scripts/rman_PrimeDG.sh &> "/home/oracle/scripts/log/PrimeDG_Full_Bkp_`date "+\%m-\%d-\%y_\%H\%M\%S"`.log"
[oracle@PrimeDG scripts]$ ./rman_PrimeDG.sh

Recovery Manager: Release 11.2.0.1.0 - Production on Wed Mar 30 14:25:15 2016

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

connected to target database: PRIMEDG (DBID=2797264308)

RMAN> run
2> {
3> backup database plus archivelog not backed up 1 times delete all input;
4> delete noprompt obsolete device type disk;
5> }
6>

Starting backup at 30-MAR-2016 14:25:16
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=14 device type=DISK
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=3 RECID=1 STAMP=907689322
input archived log thread=1 sequence=4 RECID=2 STAMP=907708817
input archived log thread=1 sequence=5 RECID=3 STAMP=907713265
input archived log thread=1 sequence=6 RECID=4 STAMP=907761648
input archived log thread=1 sequence=7 RECID=5 STAMP=907785204
input archived log thread=1 sequence=8 RECID=6 STAMP=907797721
input archived log thread=1 sequence=9 RECID=7 STAMP=907801215
input archived log thread=1 sequence=10 RECID=8 STAMP=907822114
input archived log thread=1 sequence=11 RECID=9 STAMP=907847297
input archived log thread=1 sequence=12 RECID=10 STAMP=907856717
channel ORA_DISK_1: starting piece 1 at 30-MAR-2016 14:25:18
channel ORA_DISK_1: finished piece 1 at 30-MAR-2016 14:25:21
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_1_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 2 at 30-MAR-2016 14:25:21
channel ORA_DISK_1: finished piece 2 at 30-MAR-2016 14:25:24
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_2_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 3 at 30-MAR-2016 14:25:24
channel ORA_DISK_1: finished piece 3 at 30-MAR-2016 14:25:31
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_3_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 4 at 30-MAR-2016 14:25:31
channel ORA_DISK_1: finished piece 4 at 30-MAR-2016 14:25:34
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_4_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 5 at 30-MAR-2016 14:25:34
channel ORA_DISK_1: finished piece 5 at 30-MAR-2016 14:25:37
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_5_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 6 at 30-MAR-2016 14:25:37
channel ORA_DISK_1: finished piece 6 at 30-MAR-2016 14:25:40
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_6_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 7 at 30-MAR-2016 14:25:40
channel ORA_DISK_1: finished piece 7 at 30-MAR-2016 14:25:43
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_7_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 8 at 30-MAR-2016 14:25:43
channel ORA_DISK_1: finished piece 8 at 30-MAR-2016 14:25:46
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_8_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 9 at 30-MAR-2016 14:25:46
channel ORA_DISK_1: finished piece 9 at 30-MAR-2016 14:25:53
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_9_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 10 at 30-MAR-2016 14:25:53
channel ORA_DISK_1: finished piece 10 at 30-MAR-2016 14:25:56
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_10_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 11 at 30-MAR-2016 14:25:56
channel ORA_DISK_1: finished piece 11 at 30-MAR-2016 14:25:59
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_11_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 12 at 30-MAR-2016 14:25:59
channel ORA_DISK_1: finished piece 12 at 30-MAR-2016 14:26:02
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_12_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 13 at 30-MAR-2016 14:26:02
channel ORA_DISK_1: finished piece 13 at 30-MAR-2016 14:26:05
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_13_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 14 at 30-MAR-2016 14:26:05
channel ORA_DISK_1: finished piece 14 at 30-MAR-2016 14:26:08
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_14_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 15 at 30-MAR-2016 14:26:08
channel ORA_DISK_1: finished piece 15 at 30-MAR-2016 14:26:11
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_15_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: starting piece 16 at 30-MAR-2016 14:26:11
channel ORA_DISK_1: finished piece 16 at 30-MAR-2016 14:26:13
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_16_1.bak tag=TAG20160330T142517 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55
channel ORA_DISK_1: deleting archived log(s)
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_28/o1_mf_1_3_chm3177y_.arc                                  RECID=1 STAMP=907689322
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_28/o1_mf_1_4_chmp2j2b_.arc                                  RECID=2 STAMP=907708817
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_28/o1_mf_1_5_chmtfhfm_.arc                                  RECID=3 STAMP=907713265
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_29/o1_mf_1_6_cho9og5m_.arc                                  RECID=4 STAMP=907761648
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_29/o1_mf_1_7_chp0om99_.arc                                  RECID=5 STAMP=907785204
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_29/o1_mf_1_8_chpdwpnz_.arc                                  RECID=6 STAMP=907797721
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_29/o1_mf_1_9_chpj9y3o_.arc                                  RECID=7 STAMP=907801215
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_30/o1_mf_1_10_chq4q19y_.arc                                  RECID=8 STAMP=907822114
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_30/o1_mf_1_11_chqx9yob_.arc                                  RECID=9 STAMP=907847297
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_30/o1_mf_1_12_chr6jd7c_.arc                                  RECID=10 STAMP=907856717
Finished backup at 30-MAR-2016 14:26:14

Starting backup at 30-MAR-2016 14:26:14
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=/u01/app/oracle/PrimeDG/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/PrimeDG/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/PrimeDG/example01.dbf
input datafile file number=00006 name=/u01/app/oracle/PrimeDG/MoidTBS01.dbf
input datafile file number=00007 name=/u14/oradata/PrimeDG/testtbs01.dbf
input datafile file number=00003 name=/u01/app/oracle/PrimeDG/undotbs01.dbf
input datafile file number=00008 name=/u14/oradata/PrimeDG/testtbs02.dbf
input datafile file number=00004 name=/u01/app/oracle/PrimeDG/users01.dbf
channel ORA_DISK_1: starting piece 1 at 30-MAR-2016 14:26:15
channel ORA_DISK_1: finished piece 1 at 30-MAR-2016 14:26:22
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_1_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 2 at 30-MAR-2016 14:26:22
channel ORA_DISK_1: finished piece 2 at 30-MAR-2016 14:26:25
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_2_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 3 at 30-MAR-2016 14:26:25
channel ORA_DISK_1: finished piece 3 at 30-MAR-2016 14:26:32
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_3_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 4 at 30-MAR-2016 14:26:32
channel ORA_DISK_1: finished piece 4 at 30-MAR-2016 14:26:39
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_4_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 5 at 30-MAR-2016 14:26:39
channel ORA_DISK_1: finished piece 5 at 30-MAR-2016 14:26:42
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_5_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 6 at 30-MAR-2016 14:26:42
channel ORA_DISK_1: finished piece 6 at 30-MAR-2016 14:26:49
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_6_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 7 at 30-MAR-2016 14:26:49
channel ORA_DISK_1: finished piece 7 at 30-MAR-2016 14:26:52
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_7_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 8 at 30-MAR-2016 14:26:52
channel ORA_DISK_1: finished piece 8 at 30-MAR-2016 14:27:17
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_8_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 9 at 30-MAR-2016 14:27:17
channel ORA_DISK_1: finished piece 9 at 30-MAR-2016 14:27:42
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_9_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 10 at 30-MAR-2016 14:27:42
channel ORA_DISK_1: finished piece 10 at 30-MAR-2016 14:27:49
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_10_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 11 at 30-MAR-2016 14:27:49
channel ORA_DISK_1: finished piece 11 at 30-MAR-2016 14:27:52
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_11_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 12 at 30-MAR-2016 14:27:52
channel ORA_DISK_1: finished piece 12 at 30-MAR-2016 14:27:55
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_12_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 13 at 30-MAR-2016 14:27:55
channel ORA_DISK_1: finished piece 13 at 30-MAR-2016 14:27:58
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_13_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 14 at 30-MAR-2016 14:27:58
channel ORA_DISK_1: finished piece 14 at 30-MAR-2016 14:28:01
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_14_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 15 at 30-MAR-2016 14:28:01
channel ORA_DISK_1: finished piece 15 at 30-MAR-2016 14:28:04
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_15_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 16 at 30-MAR-2016 14:28:04
channel ORA_DISK_1: finished piece 16 at 30-MAR-2016 14:28:07
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_16_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 17 at 30-MAR-2016 14:28:07
channel ORA_DISK_1: finished piece 17 at 30-MAR-2016 14:28:10
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_17_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 18 at 30-MAR-2016 14:28:10
channel ORA_DISK_1: finished piece 18 at 30-MAR-2016 14:28:13
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_18_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 19 at 30-MAR-2016 14:28:13
channel ORA_DISK_1: finished piece 19 at 30-MAR-2016 14:28:16
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_19_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 20 at 30-MAR-2016 14:28:16
channel ORA_DISK_1: finished piece 20 at 30-MAR-2016 14:28:19
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_20_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 21 at 30-MAR-2016 14:28:19
channel ORA_DISK_1: finished piece 21 at 30-MAR-2016 14:28:22
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_21_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 22 at 30-MAR-2016 14:28:22
channel ORA_DISK_1: finished piece 22 at 30-MAR-2016 14:28:25
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_22_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 23 at 30-MAR-2016 14:28:25
channel ORA_DISK_1: finished piece 23 at 30-MAR-2016 14:28:28
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_23_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 24 at 30-MAR-2016 14:28:28
channel ORA_DISK_1: finished piece 24 at 30-MAR-2016 14:28:31
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_24_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 25 at 30-MAR-2016 14:28:31
channel ORA_DISK_1: finished piece 25 at 30-MAR-2016 14:28:34
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_25_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 26 at 30-MAR-2016 14:28:34
channel ORA_DISK_1: finished piece 26 at 30-MAR-2016 14:28:37
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_26_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 27 at 30-MAR-2016 14:28:37
channel ORA_DISK_1: finished piece 27 at 30-MAR-2016 14:28:40
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_27_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 28 at 30-MAR-2016 14:28:40
channel ORA_DISK_1: finished piece 28 at 30-MAR-2016 14:28:43
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_28_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 29 at 30-MAR-2016 14:28:43
channel ORA_DISK_1: finished piece 29 at 30-MAR-2016 14:28:46
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_29_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 30 at 30-MAR-2016 14:28:46
channel ORA_DISK_1: finished piece 30 at 30-MAR-2016 14:28:49
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_30_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 31 at 30-MAR-2016 14:28:49
channel ORA_DISK_1: finished piece 31 at 30-MAR-2016 14:28:52
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_31_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 32 at 30-MAR-2016 14:28:52
channel ORA_DISK_1: finished piece 32 at 30-MAR-2016 14:28:55
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_32_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 33 at 30-MAR-2016 14:28:55
channel ORA_DISK_1: finished piece 33 at 30-MAR-2016 14:28:58
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_33_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 34 at 30-MAR-2016 14:28:58
channel ORA_DISK_1: finished piece 34 at 30-MAR-2016 14:29:01
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_34_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 35 at 30-MAR-2016 14:29:01
channel ORA_DISK_1: finished piece 35 at 30-MAR-2016 14:29:04
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_35_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 36 at 30-MAR-2016 14:29:04
channel ORA_DISK_1: finished piece 36 at 30-MAR-2016 14:29:07
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_36_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 37 at 30-MAR-2016 14:29:07
channel ORA_DISK_1: finished piece 37 at 30-MAR-2016 14:29:10
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_37_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 38 at 30-MAR-2016 14:29:10
channel ORA_DISK_1: finished piece 38 at 30-MAR-2016 14:29:13
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_38_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: starting piece 39 at 30-MAR-2016 14:29:13
channel ORA_DISK_1: finished piece 39 at 30-MAR-2016 14:29:15
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_02r1pis7_39_1.bak tag=TAG20160330T142615 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:03:00
Finished backup at 30-MAR-2016 14:29:15

Starting backup at 30-MAR-2016 14:29:15
current log archived
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=13 RECID=11 STAMP=907856956
channel ORA_DISK_1: starting piece 1 at 30-MAR-2016 14:29:16
channel ORA_DISK_1: finished piece 1 at 30-MAR-2016 14:29:17
piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_03r1pj1s_1_1.bak tag=TAG20160330T142916 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_1: deleting archived log(s)
archived log file name=/u01/app/oracle/flash_recovery_area/PRIMEDG/archivelog/2016_03_30/o1_mf_1_13_chr6qvsp_.arc                                  RECID=11 STAMP=907856956
Finished backup at 30-MAR-2016 14:29:17

Starting Control File and SPFILE Autobackup at 30-MAR-2016 14:29:17
piece handle=/u99/PrimeDG/Backup/control_n_spfile_c-2797264308-20160330-00 comment=NONE
Finished Control File and SPFILE Autobackup at 30-MAR-2016 14:29:24

RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=14 device type=DISK
Deleting the following obsolete backups and copies:
Type                 Key    Completion Time    Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set           1      30-MAR-2016 14:26:12
  Backup Piece       16     30-MAR-2016 14:26:12 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_16_1.bak
Backup Set           1      30-MAR-2016 14:26:10
  Backup Piece       15     30-MAR-2016 14:26:10 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_15_1.bak
Backup Set           1      30-MAR-2016 14:26:07
  Backup Piece       14     30-MAR-2016 14:26:07 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_14_1.bak
Backup Set           1      30-MAR-2016 14:26:04
  Backup Piece       13     30-MAR-2016 14:26:04 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_13_1.bak
Backup Set           1      30-MAR-2016 14:26:01
  Backup Piece       12     30-MAR-2016 14:26:01 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_12_1.bak
Backup Set           1      30-MAR-2016 14:25:59
  Backup Piece       11     30-MAR-2016 14:25:59 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_11_1.bak
Backup Set           1      30-MAR-2016 14:25:56
  Backup Piece       10     30-MAR-2016 14:25:56 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_10_1.bak
Backup Set           1      30-MAR-2016 14:25:50
  Backup Piece       9      30-MAR-2016 14:25:50 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_9_1.bak
Backup Set           1      30-MAR-2016 14:25:46
  Backup Piece       8      30-MAR-2016 14:25:46 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_8_1.bak
Backup Set           1      30-MAR-2016 14:25:43
  Backup Piece       7      30-MAR-2016 14:25:43 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_7_1.bak
Backup Set           1      30-MAR-2016 14:25:40
  Backup Piece       6      30-MAR-2016 14:25:40 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_6_1.bak
Backup Set           1      30-MAR-2016 14:25:36
  Backup Piece       5      30-MAR-2016 14:25:36 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_5_1.bak
Backup Set           1      30-MAR-2016 14:25:34
  Backup Piece       4      30-MAR-2016 14:25:34 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_4_1.bak
Backup Set           1      30-MAR-2016 14:25:28
  Backup Piece       3      30-MAR-2016 14:25:28 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_3_1.bak
Backup Set           1      30-MAR-2016 14:25:23
  Backup Piece       2      30-MAR-2016 14:25:23 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_2_1.bak
Backup Set           1      30-MAR-2016 14:25:21
  Backup Piece       1      30-MAR-2016 14:25:21 /u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_1_1.bak
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_16_1.bak RECID=16 STAMP=907856771
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_15_1.bak RECID=15 STAMP=907856768
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_14_1.bak RECID=14 STAMP=907856765
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_13_1.bak RECID=13 STAMP=907856762
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_12_1.bak RECID=12 STAMP=907856759
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_11_1.bak RECID=11 STAMP=907856756
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_10_1.bak RECID=10 STAMP=907856753
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_9_1.bak RECID=9 STAMP=907856746
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_8_1.bak RECID=8 STAMP=907856743
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_7_1.bak RECID=7 STAMP=907856740
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_6_1.bak RECID=6 STAMP=907856737
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_5_1.bak RECID=5 STAMP=907856734
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_4_1.bak RECID=4 STAMP=907856731
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_3_1.bak RECID=3 STAMP=907856724
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_2_1.bak RECID=2 STAMP=907856721
deleted backup piece
backup piece handle=/u99/PrimeDG/Backup/full_PRIMEDG_20160330_01r1piqe_1_1.bak RECID=1 STAMP=907856718
Deleted 16 objects