How to duplicate or restore database to another host using rman with TSM
I want to duplicate or restore database to another host using rman with TSM, but I always got the error message as follow when I run the script as follow . Can anyone tell me , what's problem with rman or TSM.
export ORACLE_SID=dup
rman target sys/admin@mydb catalog rman/rman@catdb auxiliary /
RMAN> run {
2> allocate auxiliary channel newdb1 device type sbt;
3> duplicate target database to dup
4> db_file_name_convert=('/orabak/mydb','/orabak/dup')
logfile
5> 6> group 1 ('/orabak/dup/redo01.log') size 50M,
group 2 ('/orabak/dup/redo02.log') size 50M,
group 3 ('/orabak/dup/redo03.log') size 50M;