Scheduling Rman backup in windows
Hi all,
I need to configure backup in Rman using the task scheduler in windows. I have placed 2 scripts 1 is batch file and 2nd is sql file with the below contents. When i ran the batch file the process is only getting logged into RMAN prompt but not executing the sql statements, how can i schedule it?
Version: 9i
OS: Windows server 2003
Bat file
rman target=sys/oracle@orcl1
@'d:\oracle\rman\backup.sql'
--------------------------------------
sql file
run
{
backup archivelog all;
delete noprompt obsolete;
}