Re: rman script for windows

  • From: Rodrigo Mufalani <rodrigo@xxxxxxxxxxxxxxx>
  • To: "joanhsieh08@xxxxxxxxx" <joanhsieh08@xxxxxxxxx>
  • Date: Mon, 19 Mar 2018 15:42:15 +0000

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@xxxxxxxxxxxxxxx<mailto:rodrigo@xxxxxxxxxxxxxxx>
+55 21 988994817
+55 21 31930326

Em 19 de mar de 2018, à(s) 12:30, Steve Harville 
<steve.harville@xxxxxxxxx<mailto:steve.harville@xxxxxxxxx>> 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@xxxxxxxxx<mailto:joanhsieh08@xxxxxxxxx>> 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

Other related posts: