Networker

Re: [Networker] RMAN backup, archivelog, and recover scripts.

2006-04-07 12:13:02
Subject: Re: [Networker] RMAN backup, archivelog, and recover scripts.
From: Matthew Huff <mhuff AT OX DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 7 Apr 2006 12:11:28 -0400
connect target sys/xxxxx@SALES
connect rcvcat rman/xxxxx@RMAN

run {
        set command id to 'SALES';

        allocate channel t1 type 'SBT_TAPE';
        allocate channel t2 type 'SBT_TAPE';
        allocate channel t3 type 'SBT_TAPE';
        allocate channel t4 type 'SBT_TAPE';


        send 'NSR_ENV=(NSR_DATA_VOLUME_POOL=OTAFull)';

        backup full database force format='FULL_%d_%U'
        plus archivelog force format='AL_%s_%p' delete all input;

        release channel t1;
        release channel t2;
        release channel t3;
        release channel t4;
        }

----
Matthew Huff       | One Manhattanville Rd
Dir of Operations  | Purchase, NY 10577
OTA LLC            | Phone: 914-460-4039
www.otaotr.com     | Fax: 914-460-4139   



 

> -----Original Message-----
> From: Legato NetWorker discussion 
> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Alley, J B
> Sent: Friday, April 07, 2006 12:06 PM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: [Networker] RMAN backup, archivelog, and recover scripts.
> 
> Does any have RMAN scripts for backups, archive logs, and 
> recovery that I could use as samples?  We are testing NMO and 
> RMAN for the first time, and the documentation is a little 
> lacking on examples.  
> 
> I think I have an idea, but there are a few added commands 
> that I would like to use that I am unsure as to where to add 
> them.  For instance setting automatic controfile backups, 
> deleting archive logs older than a specified time, and 
> setting duplexing for multiple copies of the database backups.
> 
> We are using NMO 4.2 on a Solaris 2.9 server with Oracle 9i, 
> and the Networker server is Solaris 2.9 with Networker 7.3.
> 
> Thanks
> 
> To sign off this list, send email to 
> listserv AT listserv.temple DOT edu and type "signoff networker" in 
> the body of the email. Please write to 
> networker-request AT listserv.temple DOT edu if you have any 
> problems wit this list. You can access the archives at 
> http://listserv.temple.edu/archives/networker.html or via RSS 
> at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> 

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>