Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

rman connect sys

supersenFeb 13 2018 — edited Feb 21 2018

Hello ,

I am new to RMAN and I writing script to duplicate database

mtnas1 is source and I am going to duplicate to mtnas2

both db exists and I want to move the data from mtnas1 to mtnas2.

Help me to connect both target and auxillary without giving password in the shell script

Example:

rman target sys/password@mtnas1auxiliary sys/password@mtnas2

here I should not give password as above.  Also always I used to connect as sys as sysdba.

How can I achive this for both target and auxillary

Kindly help

S

This post has been answered by Hemant K Chitale on Feb 13 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2018
Added on Feb 13 2018
3 comments
685 views