Veritas-bu

[Veritas-bu] Scheduling a manual catalog backup on Windows

2004-09-27 16:44:34
Subject: [Veritas-bu] Scheduling a manual catalog backup on Windows
From: david.chapa AT adic DOT com (David Chapa)
Date: Mon, 27 Sep 2004 14:44:34 -0600
This is a multi-part message in MIME format.

------_=_NextPart_001_01C4A4D2.CBC2161D
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

There is a way...but does require some scripting.
=20
Essentially what I do is
=20
1.      Verify no ACTIVE jobs are running using the bpdbjobs command
2.      After verifying I terminate the Request Process (daemon in Unix)
- bprd using bprdreq -terminate
3.      Verify this terminated successfully.
4.      After verification, perform the Catalog Backup
5.      Re-start Request Process (daemon) - bprd by running initbprd
(unix) or the Windows equivalent (which eludes my memory at the moment)
=20
There are several caveats with this process, so definitely something you
want to TEST, TEST, TEST...before putting into production.
=20
IF you do not re-start the bprd process no backups will run.
IF your catalog is huge, it may take a VERY long time and depending on
when you run this could adversely affect your backup windows.
IF you do not ensure bprd was successfully terminated, it may still
allow jobs to be submitted which basically means you Catalog Backup is
being done on open files that may be in the middle of an update.
=20
Hope this helps.
David A. Chapa | ADIC | 720.272.8452 cell | http://www.adic.com
<http://www.adic.com> =20
Sr. Technical Advisor=20
Pathlight VX - http://www.adic.com/gopathlightvx
=20

------_=_NextPart_001_01C4A4D2.CBC2161D
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:[email protected]">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;
        mso-font-alt:"\FF2D\FF33 \660E\671D";
        mso-font-charset:128;
        mso-generic-font-family:modern;
        mso-font-pitch:fixed;
        mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
@font-face
        {font-family:"Arial Black";
        panose-1:2 11 10 4 2 1 2 2 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:647 0 0 0 159 0;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;
        mso-font-charset:128;
        mso-generic-font-family:modern;
        mso-font-pitch:fixed;
        mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:Arial;
        mso-fareast-font-family:"MS Mincho";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p
        {mso-style-name:"Normal \(Web\)\,Normal \(Web\) Char";
        mso-style-link:"Normal \(Web\) Char Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Arial;
        mso-fareast-font-family:"MS Mincho";}
span.NormalWebCharChar
        {mso-style-name:"Normal \(Web\) Char Char";
        mso-style-link:"Normal \(Web\)\,Normal \(Web\) Char";
        mso-ansi-font-size:12.0pt;
        mso-bidi-font-size:12.0pt;
        font-family:"MS Mincho";
        mso-ascii-font-family:"MS Mincho";
        mso-fareast-font-family:"MS Mincho";
        mso-hansi-font-family:"MS Mincho";
        mso-ansi-language:EN-US;
        mso-fareast-language:JA;
        mso-bidi-language:AR-SA;}
span.StyleNormalWebLatinArialComplexArial75ptChar
        {mso-style-name:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt Char";
        mso-style-link:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt";
        mso-ansi-font-size:7.5pt;
        mso-bidi-font-size:7.5pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-fareast-font-family:"MS Mincho";
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        mso-ansi-language:EN-US;
        mso-fareast-language:JA;
        mso-bidi-language:AR-SA;}
p.StyleNormalWebLatinArialComplexArial75pt, =
li.StyleNormalWebLatinArialComplexArial75pt, =
div.StyleNormalWebLatinArialComplexArial75pt
        {mso-style-name:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt";
        mso-style-parent:"Normal \(Web\)\,Normal \(Web\) Char";
        mso-style-link:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-add-space:auto;
        mso-pagination:widow-orphan;
        font-size:7.5pt;
        font-family:Arial;
        mso-fareast-font-family:"MS Mincho";}
p.StyleNormalWebLatinArialComplexArial75ptCxSpFirst, =
li.StyleNormalWebLatinArialComplexArial75ptCxSpFirst, =
div.StyleNormalWebLatinArialComplexArial75ptCxSpFirst
        {mso-style-name:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 ptCxSpFirst";
        mso-style-parent:"Normal \(Web\)\,Normal \(Web\) Char";
        mso-style-link:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt Char";
        mso-style-type:export-only;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-add-space:auto;
        mso-pagination:widow-orphan;
        font-size:7.5pt;
        font-family:Arial;
        mso-fareast-font-family:"MS Mincho";}
p.StyleNormalWebLatinArialComplexArial75ptCxSpMiddle, =
li.StyleNormalWebLatinArialComplexArial75ptCxSpMiddle, =
div.StyleNormalWebLatinArialComplexArial75ptCxSpMiddle
        {mso-style-name:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 ptCxSpMiddle";
        mso-style-parent:"Normal \(Web\)\,Normal \(Web\) Char";
        mso-style-link:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt Char";
        mso-style-type:export-only;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-add-space:auto;
        mso-pagination:widow-orphan;
        font-size:7.5pt;
        font-family:Arial;
        mso-fareast-font-family:"MS Mincho";}
p.StyleNormalWebLatinArialComplexArial75ptCxSpLast, =
li.StyleNormalWebLatinArialComplexArial75ptCxSpLast, =
div.StyleNormalWebLatinArialComplexArial75ptCxSpLast
        {mso-style-name:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 ptCxSpLast";
        mso-style-parent:"Normal \(Web\)\,Normal \(Web\) Char";
        mso-style-link:"Style Normal \(Web\) + \(Latin\) Arial \(Complex\) =
Arial 7\.5 pt Char";
        mso-style-type:export-only;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-add-space:auto;
        mso-pagination:widow-orphan;
        font-size:7.5pt;
        font-family:Arial;
        mso-fareast-font-family:"MS Mincho";}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:613945422;
        mso-list-type:hybrid;
        mso-list-template-ids:1277303370 67698703 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1505632510;
        mso-list-template-ids:-1233905662;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>There is a way&#8230;but does require some =
scripting.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>Essentially what I do is<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'mso-margin-top-alt:0in' start=3D1 type=3D1>
 <li class=3DMsoNormal style=3D'color:navy;mso-list:l0 level1 =
lfo3;tab-stops:list .5in'><font
     size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt'>Verify no ACTIVE
     jobs are running using the <span class=3DSpellE>bpdbjobs</span> =
command<o:p></o:p></span></font></li>
 <li class=3DMsoNormal style=3D'color:navy;mso-list:l0 level1 =
lfo3;tab-stops:list .5in'><font
     size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt'>After
     verifying I terminate the Request Process (daemon in Unix) &#8211; =
<span
     class=3DSpellE>bprd</span> using <span =
class=3DSpellE>bprdreq</span>
     &#8211;terminate<o:p></o:p></span></font></li>
 <li class=3DMsoNormal style=3D'color:navy;mso-list:l0 level1 =
lfo3;tab-stops:list .5in'><font
     size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt'>Verify this
     terminated successfully.<o:p></o:p></span></font></li>
 <li class=3DMsoNormal style=3D'color:navy;mso-list:l0 level1 =
lfo3;tab-stops:list .5in'><font
     size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt'>After
     verification, perform the Catalog =
Backup<o:p></o:p></span></font></li>
 <li class=3DMsoNormal style=3D'color:navy;mso-list:l0 level1 =
lfo3;tab-stops:list .5in'><font
     size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt'>Re-start
     Request Process (daemon) &#8211; <span class=3DSpellE>bprd</span> =
by running
     <span class=3DSpellE>initbprd</span> (<span =
class=3DSpellE>unix</span>) or the
     Windows equivalent (which eludes my memory at the =
moment)<o:p></o:p></span></font></li>
</ol>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>There are several caveats with this process, so =
definitely
something you want to TEST, TEST, TEST&#8230;before putting into =
production.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>IF you do not re-start the <span =
class=3DSpellE>bprd</span>
process no backups will run.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>IF your catalog is huge, it may take a VERY long time =
and
depending on when you run this could adversely affect your backup =
windows.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>IF you do not ensure <span class=3DSpellE>bprd</span> =
was
successfully terminated, it may still allow jobs to be submitted which
basically means you Catalog Backup is being done on open files that may =
be in
the middle of an update.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;color:navy'>Hope this helps.<o:p></o:p></span></font></p>

<div>

<p><font size=3D1 color=3Dnavy face=3D"Arial Black"><span =
style=3D'font-size:7.5pt;
font-family:"Arial Black";color:navy;mso-no-proof:yes'>David A. =
Chapa</span></font><span
class=3DStyleNormalWebLatinArialComplexArial75ptChar><font size=3D1 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:7.5pt;color:navy;mso-no-proof:yes'> | =
</span></font></span><font
size=3D1 color=3Dred face=3D"Arial Black"><span =
style=3D'font-size:7.5pt;font-family:
"Arial Black";color:red;mso-no-proof:yes'>ADIC</span></font><span
class=3DStyleNormalWebLatinArialComplexArial75ptChar><font size=3D1 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:7.5pt;color:navy;mso-no-proof:yes'> |
720.272.8452 cell | </span></font></span><font color=3Dnavy><span
style=3D'color:navy;mso-no-proof:yes'><a =
href=3D"http://www.adic.com";><font size=3D1><span
style=3D'font-size:7.5pt'>http://www.adic.com</span></font></a></span></f=
ont><font
size=3D1 color=3Dnavy><span =
style=3D'font-size:7.5pt;color:navy;mso-no-proof:yes'> <br>
<span class=3DStyleNormalWebLatinArialComplexArial75ptChar><font =
face=3DArial>Sr. Technical
Advisor</font></span> <o:p></o:p></span></font></p>

<p><font size=3D1 color=3Dred face=3D"Arial Black"><span =
style=3D'font-size:7.5pt;
font-family:"Arial Black";color:red;mso-no-proof:yes'>Pathlight VX =
&#8211;
http://www.adic.com/gopathlightvx<o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C4A4D2.CBC2161D--

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