RMAN command from script

Giganews Newsgroups
Subject: RMAN command from script
Posted by:  ram (linaray…@hotmail.com)
Date: 28 Nov 2005

Hello,
I am trying to run the RMAN backup from a script (unix). i wrote a
small script (sh) with following commands:
rman TARGET /
RUN { backup database;
}
when i run it gives errors RUN, backup commands not found.
Do i need to store this file under some specific dir? am i missing
something?
Thanks

Replies