Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scheduling Rman backup in windows

user10724679Feb 22 2012 — edited Feb 22 2012
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;
}
This post has been answered by unknown-698157 on Feb 22 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2012
Added on Feb 22 2012
4 comments
3,175 views