Veritas-bu

[Veritas-bu] Copy tapes for off-site storage

2004-06-09 11:54:57
Subject: [Veritas-bu] Copy tapes for off-site storage
From: Keath.Marx AT anthem DOT com (Marx, Keath)
Date: Wed, 9 Jun 2004 11:54:57 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C44E3A.1D08F514
Content-Type: text/plain

We don't have vault either.  I created some custom scripts that handle the
duplication.  Basically we do backups with 3 different schedule names:
Daily, Cumm_Inc, and Arc_Daily.

I have 3 lines in my script for this duplication:
RunWait, %comspec% /c "%verpath%\\%nbupath%\\bpduplicate.exe" -dstunit
%destunit% -dp %destpool% -sl Cumm_Inc -v -L %logfile% -s %lastrun%
%brun%\:00 -rl %taperl%, , Hide

RunWait, %comspec% /c "%verpath%\\%nbupath%\\bpduplicate.exe" -dstunit
%destunit% -dp %destpool% -s %lastrun% %brun%\:00 -sl Daily -v -L %logfile%
-rl %taperl%, , Hide

RunWait, %comspec% /c "%verpath%\\%nbupath%\\bpduplicate.exe" -dstunit
%destunit% -dp %destpool% -s %lastrun% %brun%\:00 -sl Arc_Daily -v -L
%logfile% -rl %taperl%, , Hide

The first duplicates the cumulative backups (I run cumulatives every 2 hours
during the day so this one runs at 7pm)
The second duplicates the Daily Full backups (since my jobs are done by 3 am
that is when this job runs)
The third duplicates the Arc_Daily backups.  (the daily's are broken into
two groups due to my requirement to send an additional copy of my exchange
backups off-site permanently.)  This one is part of the script that runs at
3 am.

Of course this is a windows master server.  The way I work is that I have a
pool called On-Site that the jobs backup to (as well as some disk)  There is
a pool called off-site that the duplications run to.  Once the duplication
script finishes a script runs that looks for any tapes that are in my Robot
that are assigned (I do not keep any off-site copies in the robot) and sends
an e-mail message to the librarians telling them these tapes need to be
rotated.  I also have scripts that handle ejecting those tapes and such but
that is more complicated.

If the librarian puts an off-site tape in the library before it expires the
script will mark it to be ejected if it is not used or does not expire
before the morning duplication runs again.

All of my windows scripting is done via a freeware scripting tool called
AutoIT.  It is made for automating PC tasks such as installs but has enough
power that I can parse some text and run my commands.

Hope this helps.


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
is for the sole use of the intended recipient(s) and may contain confidential
and privileged information or otherwise protected by law.  Any unauthorized
review, use, disclosure or distribution is prohibited.  If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.
------_=_NextPart_001_01C44E3A.1D08F514
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3DUS-ASCI=
I">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2657.7=
3">
<TITLE>RE: [Veritas-bu] Copy tapes for off-site storage</TITLE>
</HEAD>
<BODY>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">We don</F=
ONT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">'</FONT><FONT COLOR=3D=
"#000080" SIZE=3D2 FACE=3D"Arial">t have vault either.&nbsp; I created so=
me custom scripts that handle the duplication.&nbsp; Basically</FONT> <FO=
NT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">we do backups with 3 differe=
nt schedule names:</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">Daily, Cu=
mm_Inc, and Arc_Daily.</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">I have 3 =
lines in my script for this duplication:</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">RunWait, =
%comspec% /c &quot;%verpath%\\%nbupath%\\bpduplicate.exe&quot; -dstunit %=
destunit% -dp %destpool% -sl</FONT> <FONT COLOR=3D"#000080" SIZE=3D2 FACE=
=3D"Arial">Cumm_Inc</FONT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial"=
> -v -L %logfile% -s %lastrun% %brun%\:00 -rl %taperl%, , Hide</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">RunWait, =
%comspec% /c &quot;%verpath%\\%nbupath%\\bpduplicate.exe&quot; -dstunit %=
destunit% -dp %destpool% -s %lastrun% %brun%\:00 -sl</FONT> <FONT COLOR=3D=
"#000080" SIZE=3D2 FACE=3D"Arial">Daily</FONT><FONT COLOR=3D"#000080" SIZ=
E=3D2 FACE=3D"Arial"> -v -L %logfile% -rl %taperl%, , Hide</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">RunWait, =
%comspec% /c &quot;%verpath%\\%nbupath%\\bpduplicate.exe&quot; -dstunit %=
destunit% -dp %destpool% -s %lastrun% %brun%\:00 -sl</FONT> <FONT COLOR=3D=
"#000080" SIZE=3D2 FACE=3D"Arial">Arc_Daily</FONT><FONT COLOR=3D"#000080"=
 SIZE=3D2 FACE=3D"Arial"> -v -L %logfile% -rl %taperl%, , Hide</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">The first=
 duplicates the</FONT> <FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">cu=
mulative</FONT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial"> backups (=
I run cumulatives every 2 hours during the day so this one runs at 7pm)</=
FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">The secon=
d duplicates the Daily Full backups (since my jobs are done by 3 am that =
is when this job runs)</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">The third=
 duplicates the Arc_Daily backups.&nbsp; (the daily</FONT><FONT COLOR=3D"=
#000080" SIZE=3D2 FACE=3D"Arial">'</FONT><FONT COLOR=3D"#000080" SIZE=3D2=
 FACE=3D"Arial">s are broken into two groups due to my requirement to sen=
d an additional copy of my exchange backups off-site permanently.)&nbsp; =
This one is part of the script that runs at 3 am.</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">Of course=
 this is a windows master server.</FONT><FONT COLOR=3D"#000080" SIZE=3D2 =
FACE=3D"Arial">&nbsp; The way I work is that I have a pool called On-Site=
 that the jobs backup to (as well as some disk)&nbsp; There is a pool cal=
led off-site that the duplications run to.&nbsp; Once the duplication scr=
ipt finishes a script runs that looks for any tapes that are in my Robot =
that are assigned (I do not keep any off-site copies</FONT><FONT COLOR=3D=
"#000080" SIZE=3D2 FACE=3D"Arial"> in the robot) and sends an e-mail mess=
age to the librarians telling them these tapes need to be rotated.&nbsp; =
I also have scripts</FONT> <FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial=
">that</FONT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial"> handle ejec=
ting those tapes and such but that is more complicated.</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">If the li=
brarian puts an off-site tape in the library before it expires the script=
 will mark it to be ejected if it is not used or d</FONT><FONT COLOR=3D"#=
000080" SIZE=3D2 FACE=3D"Arial">oes not expire before the morning duplica=
tion runs again.</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">All of my=
 windows scripting is done via a freeware scripting tool called AutoIT.&n=
bsp; It is made for automating PC tasks such as installs but has enough p=
ower that I can parse some text and run my commands.</FONT></P>

<P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Arial">Hope this=
 helps.</FONT></P>

</BODY>
</HTML>

<BR>
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,=20
is for the sole use of the intended recipient(s) and may contain confiden=
tial
and privileged information or otherwise be protected by law.  Any unautho=
rized
review, use, disclosure or distribution is prohibited.  If you are not th=
e
intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.


------_=_NextPart_001_01C44E3A.1D08F514--

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