Re: Automate rman login with shell script

  • From: sundar mahadevan <sundarmahadevan82@xxxxxxxxx>
  • To: Oracle-L@xxxxxxxxxxxxx
  • Date: Mon, 12 Dec 2011 13:39:29 -0500

Hi All,
I changed my script to connect differently and it works fine now. Attached
new script as below. Thanks all for your help. Appreciate it.
#!/bin/sh
. /u01/app/oracle/.profile1
${ORACLE_HOME}/bin/rman <<EOF
connect target sys/syspassword@cricprod_prim
connect auxiliary sys/syspassword@cricprod_logstdby
show all;
EOF



On Mon, Dec 12, 2011 at 12:37 PM, sundar mahadevan <
sundarmahadevan82@xxxxxxxxx> wrote:

> Forgot to add that i am on Oracle 11g Rel 2 EE on Suse Linux 11 x86_64.
> Thanks.
>


--
//www.freelists.org/webpage/oracle-l


Other related posts: