Release channel command v10 verses v11
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of release command at 11/15/2012 16:53:30
RMAN-06012: channel: t1 not allocated
when I run the same script for a version 11g database, I do not get the error. I looked at the version 10 doc and release channel is supported. It does mention you do not need to use it because it automatically realeases the channel. Does anyone know why this happens or are we doing something wrong. Below is the script :
rman target / nocatalog log /usr/local/dba/log/RMANbkp_$1_$LOG_DATE.log << eofrun {allocate channel t1 type 'sbt_tape' parms'ENV=(tdpo_optfile=/usr/tivoli/tsm/client/api/bin64/dsm.opt)';shutdown immediate;startup mount;backup as compressed backupset database include current controlfile plus archivelog delete input;alter database open;release channel t1;}eofTHIS IS THE SHOW ALL FOR THE 10G databaseRMAN> show all;RMAN configuration parameters are: