Database Backup and Recovery (MOSC)

MOSC Banner

How to use TAG for controlfile autobackup

edited May 7, 2014 12:00PM in Database Backup and Recovery (MOSC) 2 commentsAnswered

Hi,  I have the below script to backup the database. I am using the TAG for the FULL backup but due to controlfile autobackup on, RMAN creates a different piece for controlfile backup with default TAG. I want to use my own TAG for controlfile backup piece.

Is it possible? if yes how can I achive this? Please also suggest me if anything is wrong with my script.

connect target/
run {
allocate channel ch1 type 'sbt_tape'
parms='BLKSIZE=1048576,SBT_LIBRARY=$ORACLE_HOME/lib/libddobk.so,ENV=(STORAGE_UNIT=name,BACKUP_HOST=name)';
allocate channel ch2 type 'sbt_tape'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center