Home » RDBMS Server » Backup & Recovery » RMAN Backup using batch file
RMAN Backup using batch file [message #195646] Sat, 30 September 2006 01:11 Go to next message
M.Shakeel Azeem
Messages: 226
Registered: September 2006
Senior Member
i have created the batch for rman backup which have contens like
rman target sys/gateway@wizmen catalog rman/rman@catdb script 'week_backup'
log c:\backup\rman_output.log

The script week_backup is working fine when i execute this from rman prompt
RMAN >run{execute script week_backup;}

When i run this batch file manually it did not work
it did not create any log file either,it also didn't generate any error
can u pinpoint that where i am having a problem?
Re: RMAN Backup using batch file [message #195685 is a reply to message #195646] Sun, 01 October 2006 03:13 Go to previous message
Frank Naude
Messages: 4509
Registered: April 1998
Senior Member
You cannot specify "script" as a command line option to RMAN.

Use the "cmdfile" option and put the RMAN command into the specified file.
Previous Topic: rman backup taking 10 hours to complete
Next Topic: RMAN backup&dbms_scheduler
Goto Forum:

Current Time: Fri Jul 21 04:14:49 CDT 2017

Total time taken to generate the page: 0.83401 seconds