connect target /
connect catalog rmancat/password@RMANCAT
run {
allocate channel t1 type sbt PARMS="BLKSIZE=1048576" maxopenfiles 64;
allocate channel t2 type sbt PARMS="BLKSIZE=1048576" maxopenfiles 64;
send 'NB_ORA_POLICY=my_policy_name,NB_ORA_CLIENT=my_client_name-bkp.mydomain.com,NB_ORA_SCHED=my_schedule_name';
rman commands here
release channel t1;
release channel t2;
}
to execute:
$ rman cmdfile='restore_archlog.cmd' log='restore_archlog.log'
No comments:
Post a Comment