Re: Alternatives to RMAN cleartext password in batch file for backups?

Looks like you are using Windows. Might be able to use Powershell - 
http://bittangents.com/2010/03/20/powershell-script-encrypting-decrypting-a-string-function-encrypt-string/




jbj2

--

Jamey Johnston

On Apr 23, 2011, at 8:05 PM, Bill Myers <bwmyers@xxxxxxxxx> wrote:

> Hi all,
> I have the following commands in a batch file scheduled for daily execution:
> 
> set oracle_sid=mydatadb
> rman target / catalog mycatusr/mycatpwd@mycatdb script Daily_Backup >> 
> backup.log
> 
> My organization requires the catalog password (mycatpwd) above to be 
> encrypted and not stored as clear text in any other file or environment 
> variable. How can I still use this batch file for scheduled backups without 
> providing a clear text password? 
> 
> The only option I can think of is to compile the commands into a binary 
> executable. Any other ideas besides that?
> 
> Thanks in advance.
> Bill
--
http://www.freelists.org/webpage/oracle-l


Other related posts: