Veritas-bu

[Veritas-bu] How to use multiple "Application-Backup" schedules?

2005-11-17 14:35:30
Subject: [Veritas-bu] How to use multiple "Application-Backup" schedules?
From: Michael.F.Lavelle AT abbott DOT com (Michael F Lavelle)
Date: Thu, 17 Nov 2005 13:35:30 -0600
This is a multipart message in MIME format.
--=_alternative 006BA66C862570BC_=
Content-Type: text/plain; charset="us-ascii"

Wayne,
        For the last year we've implemented multiple RMAN schedules of 
different retention lengths within a single policy. You must overlap an 
"Automatic XXX Backup"  schedule under an 
"Application Backup" schedule.

        What counts is the Type selected for each schedule.  An 
"Application Backup" type actually retains data and the retention length 
is meaningful.  The "Automatic <Full/Cum/Diff> Backup" specifies the start 
time of the automatic backup, whether is is Full, Cumulative, or 
Differential, but the retention length is meaningless.
        You can create additional "Application Backup" schedules with 
different retention lengths and the other applicable schedule attributes. 
It is the "Application Backup" which counts within the catalog. 

        If you want to initiate the RMAN backup from the Master Server 
like most other policies, create an "Automatic Full Backup" schedule. This 
schedule's "Start Window" will initiate an RMAN backups where the window 
of this "Automatic Full Backup" and ANY "Application Backup" schedules 
within the same "Oracle" policy you create. 
        You must remember the "Automatic Full Backup" is a dummy schedule 
used to control the initiation of the "Application Backup".  The retention 
schedule of the "Application Backup" which control the images used in 
recovery 

        Within an "Oracle" Policy Type, upon creation there is one default 
schedule of Schedule Type "Application Backup".  This schedule's name is 
"Default-Application-Backup".  You can rename it.  But no two schedules 
within a policy may have the same name.  The name itself is not "special".   
The "Default-Application-Backup" ersatz User Backup is often used by our 
DBAs for one-off manual RMAN backups.  Don't delete this.  Just don't use 
it for normal scheduled RMAN backups.  Fill in all the empty time left 
unoccupied by specific automatic 
backups.

        For example, here are three pairs of RMAN full backup schedules 
within one policy: 

One-off DBA:   Frequency (Sun-Fri - 16 hours), retained for 21 days 
               Application Backup     Default-Application-Backup 
                                       (the Start Window should not 
overlap the following driver schedules) 
                                       (no driver - above used as true 
User Backup) 
daily:         Frequency (Sun-Fri - 16 hours), retained for 21 days 
               Application Backup     rman-daily 
               Automatic Full Backup  rman-daily-trigger
most weekends: Calendar (Recur WeekDay - 2/3/4/Last Saturday), retained 
for 2 months 
               Application Backup     rman-weekly 
               Automatic Full Backup  rman-weekly-trigger
monthly:       Calendar (Recur WeekDay - 1st Saturday), retained for 7 
months 
               Application Backup     rman-monthly 
               Automatic Full Backup  rman-monthly-trigger

        Remember, you can also schedule "Automatic Cumulative Incremental 
Backup" or "Automatic Differential Incremental Backup" as your trigger 
schedule.

        If you administrate Legato Networker, the separation of schedules 
and retentions will be more familiar.  Otherwise, this looks very odd at 
first.
        Read thru the example a few times, and implement a test schedule 
in order to become more familiar with it.



 Michael F. Lavelle                           Abbott Labs, 
 Sr. Storage Engineer, CIT                100 Abbott Park Rd,  AP14B-1
 Ph: 847.937.1195 (Page:389.5746)   Abbott Park  IL  60064-6042




Wayne T Smith <wtsmith AT maine DOT edu>
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
11/17/2005 10:50 AM

 
        To:     veritas-bu AT mailman.eng.auburn DOT edu
        cc:     (bcc: Michael F Lavelle/LAKE/CHMS/ABBOTT)
        Subject:        [Veritas-bu] How to use multiple "Application-Backup" 
schedules?


How to use multiple "Application-Backup" schedules?

Background: 

    I'm using the (v5.1) NetBackup Oracle Agent.  All of my "Automatic"
    backup schedules have used my one "Default-Application-Backup"
    schedule.  I have noticed that the retention period in the
    *automatic* backup is *not* used for storage. The retention on the
    Application-Backup schedule is always used! 

    I just recently defined a 2nd Application-Backup schedule with a
    longer retention period and now it seems to be always used.  Note:
    Both of my Application-Backup schedules have 24x7 windows.


Question: How do I (is it possible?!) sometimes use the longer retention 
period? 

    For example, my file system backups all do full backups early
    Saturday morning.  Every 4th one of these is for a much longer
    retention than the "normal" ones.  Can I do this with my Oracle
    Agent backups? (I realize that I must tell RMAN to save information
    for at least the longer time).


Thanks for sharing your experience ... I'm fairly new to Oracle Agent 
usage.

cheers, wayne
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



--=_alternative 006BA66C862570BC_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="Arial">Wayne,</font>
<br><font size=2 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; For the last year 
we've implemented multiple RMAN schedules of different retention lengths within 
a single policy.</font><font size=3 face="Times New Roman"> You must overlap an 
&quot;Automatic XXX Backup&quot; &nbsp;schedule under an &quot;Application 
Backup&quot; schedule.<br>
</font><font size=2 face="Arial"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;What counts is the Type selected for each schedule. 
&nbsp;An &quot;Application Backup&quot; type actually retains data and the 
retention length is meaningful. &nbsp;The &quot;Automatic &lt;Full/Cum/Diff&gt; 
Backup&quot; specifies the start time of the automatic backup, whether is is 
Full, Cumulative, or Differential, but the retention length is meaningless.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;You can create additional &quot;Application 
Backup&quot; schedules with different retention lengths and the other 
applicable schedule attributes. &nbsp;It is the &quot;Application Backup&quot; 
which counts within the catalog.</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Arial"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;If you want to initiate the RMAN backup from the 
Master Server like most other policies, create an &quot;Automatic Full 
Backup&quot; schedule. &nbsp;This schedule's &quot;Start Window&quot; will 
initiate an RMAN backups where the window of this &quot;Automatic Full 
Backup&quot; and ANY &quot;Application Backup&quot; schedules within the same 
&quot;Oracle&quot; policy you create.</font><font size=3 face="Times New 
Roman"> </font><font size=2 face="Arial"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;You must remember the &quot;Automatic Full 
Backup&quot; is a dummy schedule used to control the initiation of the 
&quot;Application Backup&quot;. &nbsp;The retention schedule of the 
&quot;Application Backup&quot; which control the images used in 
recovery</font><font size=3 face="Times New Roman"> <br>
</font>
<br><font size=2 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; Within an 
&quot;Oracle&quot; Policy Type, upon creation there is one default schedule of 
Schedule Type &quot;Application Backup&quot;. &nbsp;This schedule's name is 
&quot;Default-Application-Backup&quot;. &nbsp;You can rename it. &nbsp;But no 
two schedules within a policy may have the same name. &nbsp;The name itself is 
not &quot;special&quot;.</font><font size=3 face="Times New Roman"> 
</font><font size=2 face="Arial">&nbsp; The 
&quot;Default-Application-Backup&quot; ersatz User Backup is often used by our 
DBAs for one-off manual RMAN backups. &nbsp;Don't delete this. &nbsp;Just don't 
use it for normal scheduled RMAN backups</font><font size=3 face="Times New 
Roman">. &nbsp;Fill in all the empty time left unoccupied by specific automatic 
backups.</font><font size=2 face="Arial"><br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;For example, here are three pairs of RMAN full 
backup schedules within one policy:</font><font size=3 face="Times New Roman"> 
<br>
</font><font size=2 face="Courier New"><br>
One-off DBA: &nbsp; Frequency (Sun-Fri - 16 hours), retained for 21 
days</font><font size=3 face="Times New Roman"> </font><font size=2 
face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Application Backup &nbsp; 
&nbsp; Default-Application-Backup</font><font size=3 face="Times New Roman"> 
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (the Start Window 
should not overlap the following driver schedules)</font><font size=3 
face="Times New Roman"> </font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (no driver - above used 
as true User Backup)</font><font size=3 face="Times New Roman"> </font><font 
size=2 face="Courier New"><br>
daily: &nbsp; &nbsp; &nbsp; &nbsp; Frequency (Sun-Fri - 16 hours), retained for 
21 days</font><font size=3 face="Times New Roman"> </font><font size=2 
face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Application Backup &nbsp; 
&nbsp; rman-daily</font><font size=3 face="Times New Roman"> </font><font 
size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Automatic Full Backup 
&nbsp;rman-daily-trigger<br>
most weekends: Calendar (Recur WeekDay - 2/3/4/Last Saturday), retained for 2 
months</font><font size=3 face="Times New Roman"> </font><font size=2 
face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Application Backup &nbsp; 
&nbsp; rman-weekly</font><font size=3 face="Times New Roman"> </font><font 
size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Automatic Full Backup 
&nbsp;rman-weekly-trigger<br>
monthly: &nbsp; &nbsp; &nbsp; Calendar (Recur WeekDay - 1st Saturday), retained 
for 7 months</font><font size=3 face="Times New Roman"> </font><font size=2 
face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Application Backup &nbsp; 
&nbsp; rman-monthly</font><font size=3 face="Times New Roman"> </font><font 
size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Automatic Full Backup 
&nbsp;rman-monthly-trigger</font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Arial"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Remember, you can also schedule &quot;Automatic 
Cumulative Incremental Backup&quot; or &quot;Automatic Differential Incremental 
Backup&quot; as your trigger schedule.</font>
<br>
<br><font size=2 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; If you administrate 
Legato Networker, the separation of schedules and retentions will be more 
familiar. &nbsp;Otherwise, this looks very odd at first.</font>
<br><font size=2 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; Read thru the example 
a few times, and implement a test schedule in order to become more familiar 
with it.</font>
<br><font size=2 face="Arial"><br>
</font>
<br><font size=2 face="Arial"><br>
 Michael F. Lavelle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Abbott Labs, <br>
 Sr. Storage Engineer, CIT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;100 Abbott Park Rd, &nbsp;AP14B-1<br>
 Ph: 847.937.1195 (Page:389.5746) &nbsp; Abbott Park &nbsp;IL 
&nbsp;60064-6042</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Wayne T Smith &lt;wtsmith AT maine DOT 
edu&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: veritas-bu-admin AT 
mailman.eng.auburn DOT edu</font>
<p><font size=1 face="sans-serif">11/17/2005 10:50 AM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; 
&nbsp; &nbsp; &nbsp;veritas-bu AT mailman.eng.auburn DOT edu</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; 
&nbsp; &nbsp; &nbsp;(bcc: Michael F Lavelle/LAKE/CHMS/ABBOTT)</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; 
&nbsp; &nbsp; &nbsp;[Veritas-bu] How to use multiple 
&quot;Application-Backup&quot; schedules?</font></table>
<br>
<br>
<br><font size=2 face="Courier New">How to use multiple 
&quot;Application-Backup&quot; schedules?<br>
<br>
Background: <br>
<br>
 &nbsp; &nbsp;I'm using the (v5.1) NetBackup Oracle Agent. &nbsp;All of my 
&quot;Automatic&quot;<br>
 &nbsp; &nbsp;backup schedules have used my one 
&quot;Default-Application-Backup&quot;<br>
 &nbsp; &nbsp;schedule. &nbsp;I have noticed that the retention period in 
the<br>
 &nbsp; &nbsp;*automatic* backup is *not* used for storage. The retention on 
the<br>
 &nbsp; &nbsp;Application-Backup schedule is always used! <br>
<br>
 &nbsp; &nbsp;I just recently defined a 2nd Application-Backup schedule with 
a<br>
 &nbsp; &nbsp;longer retention period and now it seems to be always used. 
&nbsp;Note:<br>
 &nbsp; &nbsp;Both of my Application-Backup schedules have 24x7 windows.<br>
<br>
<br>
Question: How do I (is it possible?!) sometimes use the longer retention <br>
period? &nbsp;<br>
<br>
 &nbsp; &nbsp;For example, my file system backups all do full backups early<br>
 &nbsp; &nbsp;Saturday morning. &nbsp;Every 4th one of these is for a much 
longer<br>
 &nbsp; &nbsp;retention than the &quot;normal&quot; ones. &nbsp;Can I do this 
with my Oracle<br>
 &nbsp; &nbsp;Agent backups? (I realize that I must tell RMAN to save 
information<br>
 &nbsp; &nbsp;for at least the longer time).<br>
<br>
<br>
Thanks for sharing your experience ... I'm fairly new to Oracle Agent usage.<br>
<br>
cheers, wayne<br>
_______________________________________________<br>
Veritas-bu maillist &nbsp;- &nbsp;Veritas-bu AT mailman.eng.auburn DOT edu<br>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<br>
</font>
<br>
<br>
--=_alternative 006BA66C862570BC_=--

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