When I run rman target / @mydb nocatalog cmdfile=%commands% msglog=%logfile%
, I see connected to target database: OTHERDB (DBID=3786352837, not open)
.
When I run rman target / @mydb nocatalog cmdfile=%commands% msglog=%logfile%
, I see connected to target database: OTHERDB (DBID=3786352837, not open)
.
Setting environment variable ORACLE_DB to the target database helps the cause.
StackOverflow and ServerFault seem to suffer from lack of Oracle expertise. Weak.