Veritas-bu

[Veritas-bu] Veritas scripting

2005-10-14 14:06:26
Subject: [Veritas-bu] Veritas scripting
From: jimh AT federaledge DOT com (Jim Horalek)
Date: Fri, 14 Oct 2005 11:06:26 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_009E_01C5D0AF.53219090
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Just what the world need, Another Scripting language. How many ways can =
I
write "Hello World"
I just use Cygwin on windows,=20
Most of its unix tools are work with the NBU existing scripts without to
much hacking.
=20
I can even ssh in to my windows servers.

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Mark.Donaldson AT cexp DOT com
Sent: Friday, October 14, 2005 10:34 AM
To: John_Trainer AT Countrywide DOT Com; veritas-bu AT mailman.eng.auburn DOT 
edu
Subject: RE: [Veritas-bu] Veritas scripting


I recently heard the new scripting language wasn't going to make it into
Vista release.

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
John_Trainer AT Countrywide DOT Com
Sent: Friday, October 14, 2005 11:24 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Veritas scripting



Well it's not real scripting but between simple / complex batch file =
(500
lines as compared to 4).  The third party tools help a lot, IE Kix32 and
some perl.  Gets most of the job done. =20

I hear the next winblows OS is going to have some souped up scripting
language built in <snicker>.   We'll probably have to turn it off as
security in the OS will most likely be poor at best.=20

=09

=09

=09

=09




"Jeff Lightner" <jlightner AT water DOT com>=20
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu=20


10/14/2005 08:49 AM=20


To
Mark.Donaldson AT cexp DOT com, John_Trainer AT Countrywide DOT Com,
veritas-bu AT mailman.eng.auburn DOT edu=20

cc

Subject
RE: [Veritas-bu] Veritas scripting=09

        =09




 =20
Yep.  They even had batch files all the way back to DOS 2.0 (maybe =
earlier -
that was the first one I worked on).  Of course in those days you had to =
use
edlin which only allowed you to edit and see one line at a time.=20
 =20

  _____ =20


From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Mark.Donaldson AT cexp DOT com
Sent: Friday, October 14, 2005 11:30 AM
To: John_Trainer AT Countrywide DOT Com; veritas-bu AT mailman.eng.auburn DOT 
edu
Subject: RE: [Veritas-bu] Veritas scripting=20
 =20
You can script in windows?  Wow!=20
 =20
 =20
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
John_Trainer AT Countrywide DOT Com
Sent: Thursday, October 13, 2005 6:28 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Veritas scripting=20

Mark,=20

This .pdf is Fooking Kool and Most Excellent .  Even though I'm in a =
Windoze
shop I still find the document extremely useful.  I have compiled a =
small
set of add -in scripting tools of my own over the years.  However =
Charles
pointed out:=20
"  On top of these resources, learn your shell of choice (ksh, bash, =
etc)
and some useful text processing tools (awk, sed, maybe perl). Those
tools are the foundation of scripting and if you don't already know
them, scripting netbackup will not be easy. Master those first and the
netbackup stuff is easy.    -Charlie "

I would have to agree.  Since I have been batch scripting for 15 years I
find my scripts longer and use more external tools but I have been able =
to
build some useful scripts (minus cool html output as that is just a PITA =
).=20

As for the book, be sure to include some Windoze samples too please.  =
Again
Thanks!=20



John=20

         =20

         =20

         =20

 =09







Mark.Donaldson AT cexp DOT com=20
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu=20


10/13/2005 08:50 AM=20




To
veritas-bu AT mailman.eng.auburn DOT edu=20

cc
 =20

Subject
RE: [Veritas-bu] Veritas scripting=09

 =20




         =09






Since there's more than one person interested.  Here's a link:

http://nbguru.home.comcast.net/netbackupscripting.pdf

-M

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
Mark.Donaldson AT cexp DOT com
Sent: Thursday, October 13, 2005 9:27 AM
To: vamaran AT yahoo DOT com; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Veritas scripting


Actually, this list, the Veritas man pages, and Storage Mountain
(www.storagemountain.com) are my resources.  I wrote a paper on this =
subject
a couple of years ago for a Veritas vision conference.  I'll send it to =
you
direct since it's too big to post here.

-M


-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of V. Arul =
Maran
Sent: Thursday, October 13, 2005 9:11 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Veritas scripting


Please suggest me some source to learn scripting in veritas


regards,
arul


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu




------=_NextPart_000_009E_01C5D0AF.53219090
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D613130218-14102005>Just=20
what the world need, Another Scripting language. How many ways can I =
write=20
"Hello World"</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D613130218-14102005>I just=20
use Cygwin on windows, </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D613130218-14102005>Most=20
of its unix tools are work with the NBU existing scripts without to much =

hacking.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D613130218-14102005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D613130218-14102005>I can=20
even ssh in to my windows servers.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of=20
  </B>Mark.Donaldson AT cexp DOT com<BR><B>Sent:</B> Friday, October 14, 2005 =
10:34=20
  AM<BR><B>To:</B> John_Trainer AT Countrywide DOT Com;=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] =
Veritas=20
  scripting<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D519043317-14102005><FONT face=3DArial =
color=3D#0000ff size=3D2>I=20
  recently heard the new scripting language wasn't going to make it into =
Vista=20
  release.</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B>=20
    veritas-bu-admin AT mailman.eng.auburn DOT edu=20
    [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of=20
    </B>John_Trainer AT Countrywide DOT Com<BR><B>Sent:</B> Friday, October 14, 
=
2005=20
    11:24 AM<BR><B>To:</B> =
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B>=20
    RE: [Veritas-bu] Veritas scripting<BR><BR></FONT></DIV><BR><FONT=20
    face=3Dsans-serif size=3D2>Well it's not real scripting but between =
simple /=20
    complex batch file (500 lines as compared to 4). &nbsp;The third =
party tools=20
    help a lot, IE Kix32 and some perl. &nbsp;Gets most of the job done. =

    &nbsp;<BR></FONT><BR><FONT face=3Dsans-serif size=3D2>I hear the =
next winblows=20
    OS is going to have some souped up scripting language built in=20
    &lt;snicker&gt;. &nbsp; We'll probably have to turn it off as =
security in=20
    the OS will most likely be poor at best.</FONT>=20
    <TABLE>
      <TBODY>
      <TR>
        <TD colSpan=3D2>
      <TR>
        <TD>
        <TD>
      <TR vAlign=3Dtop>
        <TD>
        <TD>
      <TR>
        <TD>
        <TD>
      <TR>
        <TD colSpan=3D2></TD></TR></TBODY></TABLE><BR><BR><BR><BR>
    <TABLE width=3D"100%">
      <TBODY>
      <TR vAlign=3Dtop>
        <TD width=3D"40%"><FONT face=3Dsans-serif size=3D1><B>"Jeff =
Lightner"=20
          &lt;jlightner AT water DOT com&gt;</B> </FONT><BR><FONT =
face=3Dsans-serif=20
          size=3D1>Sent by: =
veritas-bu-admin AT mailman.eng.auburn DOT edu</FONT>=20
          <P><FONT face=3Dsans-serif size=3D1>10/14/2005 08:49 AM</FONT> =
</P>
        <TD width=3D"59%">
          <TABLE width=3D"100%">
            <TBODY>
            <TR vAlign=3Dtop>
              <TD>
                <DIV align=3Dright><FONT face=3Dsans-serif =
size=3D1>To</FONT></DIV>
              <TD><FONT face=3Dsans-serif =
size=3D1>Mark.Donaldson AT cexp DOT com,=20
                John_Trainer AT Countrywide DOT Com,=20
                veritas-bu AT mailman.eng.auburn DOT edu</FONT>=20
            <TR vAlign=3Dtop>
              <TD>
                <DIV align=3Dright><FONT face=3Dsans-serif =
size=3D1>cc</FONT></DIV>
              <TD>
            <TR vAlign=3Dtop>
              <TD>
                <DIV align=3Dright><FONT face=3Dsans-serif=20
                size=3D1>Subject</FONT></DIV>
              <TD><FONT face=3Dsans-serif size=3D1>RE: [Veritas-bu] =
Veritas=20
                scripting</FONT></TD></TR></TBODY></TABLE><BR>
          <TABLE>
            <TBODY>
            <TR vAlign=3Dtop>
              <TD>
              =
<TD></TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE><BR><BR><BR><=
FONT=20
    face=3DArial color=3D#000080 size=3D2>&nbsp;</FONT> <BR><FONT =
face=3DArial=20
    color=3D#000080 size=3D2>Yep. &nbsp;They even had batch files all =
the way back=20
    to DOS 2.0 (maybe earlier - that was the first one I worked on). =
&nbsp;Of=20
    course in those days you had to use edlin which only allowed you to =
edit and=20
    see one line at a time.</FONT> <BR><FONT face=3DArial =
color=3D#000080=20
    size=3D2>&nbsp;</FONT>=20
    <DIV align=3Dcenter><BR>
    <HR>
    </DIV><BR><FONT face=3DTahoma size=3D2><B>From:</B>=20
    veritas-bu-admin AT mailman.eng.auburn DOT edu=20
    [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of=20
    </B>Mark.Donaldson AT cexp DOT com<B><BR>Sent:</B> Friday, October 14, 2005 
=
11:30=20
    AM<B><BR>To:</B> John_Trainer AT Countrywide DOT Com;=20
    veritas-bu AT mailman.eng.auburn DOT edu<B><BR>Subject:</B> RE: =
[Veritas-bu]=20
    Veritas scripting</FONT> <BR><FONT face=3D"Times New Roman"=20
    size=3D3>&nbsp;</FONT> <BR><FONT face=3DArial color=3Dblue =
size=3D2>You can script=20
    in windows? &nbsp;Wow!</FONT> <BR><FONT face=3D"Times New Roman"=20
    size=3D3>&nbsp;</FONT> <BR><FONT face=3D"Times New Roman" =
size=3D3>&nbsp;</FONT>=20
    <BR><FONT face=3DTahoma size=3D2>-----Original =
Message-----<B><BR>From:</B>=20
    veritas-bu-admin AT mailman.eng.auburn DOT edu=20
    [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of=20
    </B>John_Trainer AT Countrywide DOT Com<B><BR>Sent:</B> Thursday, October =
13, 2005=20
    6:28 PM<B><BR>To:</B> =
veritas-bu AT mailman.eng.auburn DOT edu<B><BR>Subject:</B>=20
    RE: [Veritas-bu] Veritas scripting</FONT> <BR><FONT =
face=3Dsans-serif=20
    size=3D2><BR>Mark,</FONT><FONT face=3D"Times New Roman" size=3D3> =
<BR></FONT><FONT=20
    face=3Dsans-serif size=3D2><BR>This .pdf is Fooking Kool and Most =
Excellent .=20
    &nbsp;Even though I'm in a Windoze shop I still find the document =
extremely=20
    useful. &nbsp;I have compiled a small set of add -in scripting tools =
of my=20
    own over the years. &nbsp;However Charles pointed out:</FONT><FONT=20
    face=3D"Times New Roman" size=3D3> </FONT><FONT face=3Dsans-serif =
size=3D2><BR>"=20
    &nbsp;</FONT><FONT face=3D"Courier New" size=3D2>On top of these =
resources,=20
    learn your shell of choice (ksh, bash, etc)<BR>and some useful text=20
    processing tools (awk, sed, maybe perl). Those<BR>tools are the =
foundation=20
    of scripting and if you don't already know<BR>them, scripting =
netbackup will=20
    not be easy. Master those first and the<BR>netbackup stuff is easy. =
&nbsp;=20
    &nbsp;-Charlie</FONT><FONT face=3Dsans-serif size=3D2> "</FONT><FONT =

    face=3D"Times New Roman" size=3D3><BR></FONT><FONT face=3Dsans-serif =
size=3D2><BR>I=20
    would have to agree. &nbsp;Since I have been batch scripting for 15 =
years I=20
    find my scripts longer and use more external tools but I have been =
able to=20
    build some useful scripts (minus cool html output as that is just a =
PITA=20
    ).</FONT><FONT face=3D"Times New Roman" size=3D3> <BR></FONT><FONT=20
    face=3Dsans-serif size=3D2><BR>As for the book, be sure to include =
some Windoze=20
    samples too please. &nbsp;Again Thanks!</FONT><FONT face=3D"Times =
New Roman"=20
    size=3D3> </FONT>
    <P>
    <TABLE width=3D"100%">
      <TBODY>
      <TR>
        <TD colSpan=3D2><FONT face=3Dsans-serif size=3D2><B>John =
</B></FONT>
      <TR>
        <TD><FONT face=3D"Times New Roman" size=3D1>&nbsp;</FONT><FONT=20
          face=3D"Times New Roman" size=3D3> </FONT>
        <TD><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
      <TR vAlign=3Dtop>
        <TD><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
        <TD><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
      <TR>
        <TD><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
        <TD><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
      <TR>
        <TD colSpan=3D2><FONT face=3D"Times New Roman"=20
      size=3D3>&nbsp;</FONT></TD></TR></TBODY></TABLE><BR><FONT=20
    face=3D"Times New Roman" size=3D3><BR><BR></FONT>
    <P>
    <TABLE width=3D"100%">
      <TBODY>
      <TR vAlign=3Dtop>
        <TD width=3D"53%"><FONT face=3Dsans-serif=20
          size=3D1><B>Mark.Donaldson AT cexp DOT com</B> <BR>Sent by:=20
          veritas-bu-admin AT mailman.eng.auburn DOT edu</FONT><FONT=20
          face=3D"Times New Roman" size=3D3> </FONT>
          <P><FONT face=3Dsans-serif size=3D1>10/13/2005 08:50 =
AM</FONT><FONT=20
          face=3D"Times New Roman" size=3D3> </FONT></P>
        <TD width=3D"46%"><BR>
          <TABLE width=3D"100%">
            <TBODY>
            <TR vAlign=3Dtop>
              <TD width=3D"16%">
                <DIV align=3Dright><FONT face=3Dsans-serif =
size=3D1>To</FONT></DIV>
              <TD width=3D"83%"><FONT face=3Dsans-serif=20
                size=3D1>veritas-bu AT mailman.eng.auburn DOT edu</FONT><FONT=20
                face=3D"Times New Roman" size=3D3> </FONT>
            <TR vAlign=3Dtop>
              <TD>
                <DIV align=3Dright><FONT face=3Dsans-serif =
size=3D1>cc</FONT></DIV>
              <TD><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
            <TR vAlign=3Dtop>
              <TD>
                <DIV align=3Dright><FONT face=3Dsans-serif=20
                size=3D1>Subject</FONT></DIV>
              <TD><FONT face=3Dsans-serif size=3D1>RE: [Veritas-bu] =
Veritas=20
                scripting</FONT></TD></TR></TBODY></TABLE><BR><FONT=20
          face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
          <P><BR>
          <TABLE width=3D"100%">
            <TBODY>
            <TR vAlign=3Dtop>
              <TD width=3D"50%"><FONT face=3D"Times New Roman"=20
                size=3D3>&nbsp;</FONT>=20
              <TD width=3D"49%"><FONT face=3D"Times New Roman"=20
              =
size=3D3>&nbsp;</FONT></TD></TR></TBODY></TABLE><BR></P></TD></TR></TBODY=
></TABLE><BR><FONT=20
    face=3D"Times New Roman" size=3D3><BR><BR></FONT><FONT =
face=3D"Courier New"=20
    size=3D2><BR>Since there's more than one person interested. =
&nbsp;Here's a=20
    =
link:<BR><BR>http://nbguru.home.comcast.net/netbackupscripting.pdf<BR><BR=
>-M<BR><BR>-----Original=20
    Message-----<BR>From:=20
    =
veritas-bu-admin AT mailman.eng.auburn DOT 
edu<BR>[mailto:veritas-bu-admin@mailm=
an.eng.auburn.edu]On=20
    Behalf Of<BR>Mark.Donaldson AT cexp DOT com<BR>Sent: Thursday, October 13, =
2005=20
    9:27 AM<BR>To: vamaran AT yahoo DOT com;=20
    veritas-bu AT mailman.eng.auburn DOT edu<BR>Subject: RE: [Veritas-bu] =
Veritas=20
    scripting<BR><BR><BR>Actually, this list, the Veritas man pages, and =
Storage=20
    Mountain<BR>(www.storagemountain.com) are my resources. &nbsp;I =
wrote a=20
    paper on this subject<BR>a couple of years ago for a Veritas vision=20
    conference. &nbsp;I'll send it to you<BR>direct since it's too big =
to post=20
    here.<BR><BR>-M<BR><BR><BR>-----Original Message-----<BR>From:=20
    =
veritas-bu-admin AT mailman.eng.auburn DOT 
edu<BR>[mailto:veritas-bu-admin@mailm=
an.eng.auburn.edu]On=20
    Behalf Of V. Arul Maran<BR>Sent: Thursday, October 13, 2005 9:11 =
AM<BR>To:=20
    veritas-bu AT mailman.eng.auburn DOT edu<BR>Subject: [Veritas-bu] Veritas=20
    scripting<BR><BR><BR>Please suggest me some source to learn =
scripting in=20
    veritas<BR><BR><BR>regards,<BR>arul<BR><BR><BR>Yahoo! Music =
Unlimited -=20
    Access over 1 million songs. Try it=20
    =
free.<BR>_______________________________________________<BR>Veritas-bu=20
    maillist &nbsp;-=20
    =
&nbsp;Veritas-bu AT mailman.eng.auburn DOT 
edu<BR>http://mailman.eng.auburn.edu/=
mailman/listinfo/veritas-bu<BR>__________________________________________=
_____<BR>Veritas-bu=20
    maillist &nbsp;-=20
    =
&nbsp;Veritas-bu AT mailman.eng.auburn DOT 
edu<BR>http://mailman.eng.auburn.edu/=
mailman/listinfo/veritas-bu<BR></FONT><BR></P></BLOCKQUOTE></BLOCKQUOTE><=
/BODY></HTML>

------=_NextPart_000_009E_01C5D0AF.53219090--


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