Home » RDBMS Server » Backup & Recovery » windows rman - bat file using variable (windows 2003, oracle 11.2)
windows rman - bat file using variable [message #568801] Tue, 16 October 2012 13:12 Go to next message
dmarcus48
Messages: 44
Registered: May 2008
Location: Central NJ
Member
This may not be the proper forum for this, if so please let me know. I'm trying to write a bat file for the rman backups that can be used for any of our databases. I'm passing variables into the bat file and that is working fine (i.e. oracle_sid, drive letter, oracle_home), my problem is when the rman actually runs and calls the ctl file, the variables aren't being passed thru to that file. Any dos programmers out there?

Dave
Re: windows rman - bat file using variable [message #568807 is a reply to message #568801] Tue, 16 October 2012 14:11 Go to previous messageGo to next message
Michel Cadot
Messages: 68625
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Have a look at wonderful script from Nick Havard: RMAN Backup for Windows
It is 8 years old but still very helpful, the script contains a link to the current version (if it still exists).

Regards
Michel
Re: windows rman - bat file using variable [message #568809 is a reply to message #568807] Tue, 16 October 2012 14:30 Go to previous messageGo to next message
dmarcus48
Messages: 44
Registered: May 2008
Location: Central NJ
Member
Mike,

I registered with dba-village and it came back, page not found. Send me an im and I'll send you my email address. Maybe you can send it to me directly.

Dave
Re: windows rman - bat file using variable [message #568810 is a reply to message #568807] Tue, 16 October 2012 14:31 Go to previous message
dmarcus48
Messages: 44
Registered: May 2008
Location: Central NJ
Member
Nevermind Mike I had to activate the account, thanks much!

Dave
Previous Topic: Checksum error in redo log block.
Next Topic: RECOVERY FROM RMAN BACKUP
Goto Forum:
  


Current Time: Thu Mar 28 14:52:43 CDT 2024