You are on page 1of 1

The script is to take archive log backup using rman in tape and delete the old b ackups which

is two days old. connect target / ; run { allocate channel t1 type sbt parms="ENV=(NB_ORA_POLICY=Oracle_Transaction_logs)"; backup format 'AL%d_%T_%s_%p' archivelog all; delete archivelog all backed up 2 times to device type sbt; release channel t1; } run { backup format '/oracle/app/oracle/drdata/cogprod/data/cogprod_controlfile_autobk p<%s:%t:%p>.bkp' current controlfile; backup format '/oracle/app/oracle/drdata/cogprod/data/cogprod_spfile_autobkp<%s: %t:%p>.bkp' spfile; }

You might also like