Ocm Use Recovery Manager To Perform Database Backups Jp
RMAN> backup incremental level 0 tag l0_init database plus archivelog delete input;
 
Starting backup at 07-APR-09
current log archived
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=29 devtype=DISK
channel ORA_DISK_1: starting compressed archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=63 recid=8 stamp=683575011
channel ORA_DISK_1: starting piece 1 at 07-APR-09
channel ORA_DISK_1: finished piece 1 at 07-APR-09
piece handle=/u01/oracle/oracle/bkup/prod/rman/PROD_0ckbt1n3_1_1_20090407.bkf tag=L0_INIT comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: deleting archive log(s)
archive log filename=/u01/oracle/oracle/oradata/prod/arch/1_63_683044611.dbf recid=8 stamp=683575011
Finished backup at 07-APR-09
 
Starting backup at 07-APR-09
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/oracle/oracle/oradata/prod/system01.dbf
input datafile fno=00003 name=/u01/oracle/oracle/oradata/prod/sysaux01.dbf
input datafile fno=00002 name=/u01/oracle/oracle/oradata/prod/undotbs01.dbf
input datafile fno=00004 name=/u01/oracle/oracle/oradata/prod/users01.dbf
channel ORA_DISK_1: starting piece 1 at 07-APR-09
channel ORA_DISK_1: finished piece 1 at 07-APR-09
piece handle=/u01/oracle/oracle/bkup/prod/rman/PROD_0dkbt1n5_1_1_20090407.bkf tag=L0_INIT comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
Finished backup at 07-APR-09
 
Starting backup at 07-APR-09
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=64 recid=9 stamp=683575039
channel ORA_DISK_1: starting piece 1 at 07-APR-09
channel ORA_DISK_1: finished piece 1 at 07-APR-09
piece handle=/u01/oracle/oracle/bkup/prod/rman/PROD_0ekbt1nv_1_1_20090407.bkf tag=L0_INIT comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: deleting archive log(s)
archive log filename=/u01/oracle/oracle/oradata/prod/arch/1_64_683044611.dbf recid=9 stamp=683575039
Finished backup at 07-APR-09
 
Starting Control File and SPFILE Autobackup at 07-APR-09
piece handle=/u01/oracle/oracle/bkup/prod/rman/c-94882947-20090407-01.ctl comment=NONE
Finished Control File and SPFILE Autobackup at 07-APR-09
 
RMAN> list backup;
RMAN> delete noprompt obsolete;
# default backup schedule
# create level 0 copy 
run {
allocate channel oem_disk_backup device type disk;
recover copy of database with tag 'ORA$OEM_LEVEL_0';
backup incremental level 1 cumulative  copies=1 for recover of copy with tag 'ORA$OEM_LEVEL_0' database;
}