An RMAN script to duplicate an Oracle database that worked with our old
NB is failing since the upgrade to 5.1. We are getting a syntax error,
apparently on the allocate channel command. Does anyone have a working
script I could compare? I am restoring to the same server, not an
alterate client.
Thanks,
Debi
UC Davis
$ORACLE_HOME/bin/rman << eof
@rman.zorro
run {
allocate channel aux1 type 'SBT_TAPE' ;
send channel aux1 'NB_ORA_CLIENT=dbserver.ucdavis.edu,
NB_ORA_SERV=backupserver.ucdavis.edu';
...
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "end-of-file": expecting one of:
"allocate, alter, backup, beginline, blockrecover, catalog, change,
copy, crosscheck, configure, duplicate, debug, delete, execute,
endinline, host, mount, open, plsql, recover, release, replicate,
report, restore, resync, }, set, setlimit, sql, switch, startup,
shutdown, send, show, validate"
RMAN-01007: at line 36 column 1 file: standard input
|