Database Backup and Recovery (MOSC)

MOSC Banner

Environment Variable in RMAN on windows

edited Oct 27, 2014 9:48AM in Database Backup and Recovery (MOSC) 4 commentsAnswered

Hi Team, I have prepare RMAN backup scripts on windows, it is working fine. When I run backup scripts it either stores backup on default location or under format path. I have created environment variable which contains the location. I want rman to create backup under path specified on variable CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '%BKP_Path%\E1Local_%U_%T'; backup database; in above BKP_Path is environment variable. When I use %BKP_Path% in above scripts it is not working. This variable was defined by batch file when it calls first time. So how to use above variable in RMAN scripts? Regards, Nikhil Shah

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center