Re: rman script for windows

From: Rodrigo Mufalani <rodrigo_at_mufalani.com.br>
Date: Mon, 19 Mar 2018 15:42:15 +0000
Message-ID: <0C623EE9-3A18-4C65-AD8F-6D4F8D8225A8_at_mufalani.com.br>



Hi Joan,

   You can also create a bat calling rman utility and using cmdfile parameter to call your rman backup script. Some more possibilities: http://www.oracle.com/technetwork/issue-archive/2009/09-sep/o59recovery-085185.html

    The file will looks like

%ORACLE_HOME%/bin/rman.exe target / cmdfile=somepath/yourrman.rcv log=somepath/yourlogfile

File yourrman.rcv

Put just your backup commands there.

Run {

    Backup database plus archivelog;
}

You may need to configure some stuff like flash recovery area and put your database on archivelog mode.

Best Regards,

Rodrigo Mufalani
Oracle Certified Master 11g (OCM)
rodrigo_at_mufalani.com.br<mailto:rodrigo_at_mufalani.com.br>
+55 21 988994817
+55 21 31930326

Em 19 de mar de 2018, à(s) 12:30, Steve Harville <steve.harville_at_gmail.com<mailto:steve.harville_at_gmail.com>> escreveu:

You may want to check out Cygwin on at least one of your Windows servers. Unix shell scripts should run with very little modifications.

On Mon, Mar 19, 2018 at 11:24 AM Joan Hsieh <joanhsieh08_at_gmail.com<mailto:joanhsieh08_at_gmail.com>> wrote: Hi list,

I've been working almost entire career on the Unix environment. Recently assigned the jobs totally on windows. Does anyone have any rman backup bat file ready for use? All the production databases here use export to backup schema. Need the complete backup and recovery strategy implementation and testing or if there is any books for reference.

Thanks in advance,

Joan

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Mar 19 2018 - 16:42:15 CET

Original text of this message