Veritas-bu

[Veritas-bu] NetBackup Question

2003-01-09 17:59:51
Subject: [Veritas-bu] NetBackup Question
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Thu, 9 Jan 2003 15:59:51 -0700
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_01C2B832.D10E8320
Content-Type: text/plain;
        charset="iso-8859-1"

Try using simply "0" for the dates and "-" for the location.  That's what
worked in v3.4 to reset these.

-M

-----Original Message-----
From: Jeffrey Pyne [mailto:jpyne AT worldatwork DOT org]
Sent: Thursday, January 09, 2003 3:00 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] NetBackup Question


I am trying to use the vmchange command on a Solaris master server to reset
some of the media properties in my media database to their default values
(as reported by vmquery).  This command works:

         vmchange -vltsent "01/09/2003 13:40:25" -m 000001

But this command does not:

         vmchange -vltsent "00/00/0000 00:00:00"

(It just prints out the usage for the vmchange command.)

Also, this command works:

         vmchange -vltname "IronMountain" -m 000001

but this command does not:

         vmchange -vltname "" -m 000001

(I get this message:  Could not change media ID 000227: invalid offsite
location (142).)

It seems like vmchange is doing some sort of parameter validation and is
choking on "00/00/0000 00:00:00" and "" as parameters.  I suppose I could
use vmchange so set these values to a valid, but meaningless, value (e.g.
"01/01/1970 00:00:00", but I really want to set these values back to their
defaults.  Don't ask why, I just do.  :)  I've used the strings command to
look through the vmchange binary to see if there are any undocumented
options that I could use, but came up empty.  

So, can anyone tell me how I can use vmchange (or another command) to set
the vault name, vault sent and vault return values back to their defaults?  

Thanks,

Jeffrey Pyne
UNIX Systems Administrator
WorldatWork
14040 N. Northsight Blvd. 
Scottsdale, AZ  85260-3601
JPyne AT worldatwork DOT org
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C2B832.D10E8320
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] NetBackup Question</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Try using simply &quot;0&quot; for the dates and =
&quot;-&quot; for the location.&nbsp; That's what worked in v3.4 to =
reset these.</FONT>
</P>

<P><FONT SIZE=3D2>-M</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Jeffrey Pyne [<A =
HREF=3D"mailto:jpyne AT worldatwork DOT org">mailto:jpyne AT worldatwork DOT 
org</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, January 09, 2003 3:00 PM</FONT>
<BR><FONT SIZE=3D2>To: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] NetBackup Question</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I am trying to use the vmchange command on a Solaris =
master server to reset</FONT>
<BR><FONT SIZE=3D2>some of the media properties in my media database to =
their default values</FONT>
<BR><FONT SIZE=3D2>(as reported by vmquery).&nbsp; This command =
works:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
vmchange -vltsent &quot;01/09/2003 13:40:25&quot; -m 000001</FONT>
</P>

<P><FONT SIZE=3D2>But this command does not:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
vmchange -vltsent &quot;00/00/0000 00:00:00&quot;</FONT>
</P>

<P><FONT SIZE=3D2>(It just prints out the usage for the vmchange =
command.)</FONT>
</P>

<P><FONT SIZE=3D2>Also, this command works:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
vmchange -vltname &quot;IronMountain&quot; -m 000001</FONT>
</P>

<P><FONT SIZE=3D2>but this command does not:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
vmchange -vltname &quot;&quot; -m 000001</FONT>
</P>

<P><FONT SIZE=3D2>(I get this message:&nbsp; Could not change media ID =
000227: invalid offsite</FONT>
<BR><FONT SIZE=3D2>location (142).)</FONT>
</P>

<P><FONT SIZE=3D2>It seems like vmchange is doing some sort of =
parameter validation and is</FONT>
<BR><FONT SIZE=3D2>choking on &quot;00/00/0000 00:00:00&quot; and =
&quot;&quot; as parameters.&nbsp; I suppose I could</FONT>
<BR><FONT SIZE=3D2>use vmchange so set these values to a valid, but =
meaningless, value (e.g.</FONT>
<BR><FONT SIZE=3D2>&quot;01/01/1970 00:00:00&quot;, but I really want =
to set these values back to their</FONT>
<BR><FONT SIZE=3D2>defaults.&nbsp; Don't ask why, I just do.&nbsp; =
:)&nbsp; I've used the strings command to</FONT>
<BR><FONT SIZE=3D2>look through the vmchange binary to see if there are =
any undocumented</FONT>
<BR><FONT SIZE=3D2>options that I could use, but came up empty.&nbsp; =
</FONT>
</P>

<P><FONT SIZE=3D2>So, can anyone tell me how I can use vmchange (or =
another command) to set</FONT>
<BR><FONT SIZE=3D2>the vault name, vault sent and vault return values =
back to their defaults?&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2>Thanks,</FONT>
</P>

<P><FONT SIZE=3D2>Jeffrey Pyne</FONT>
<BR><FONT SIZE=3D2>UNIX Systems Administrator</FONT>
<BR><FONT SIZE=3D2>WorldatWork</FONT>
<BR><FONT SIZE=3D2>14040 N. Northsight Blvd. </FONT>
<BR><FONT SIZE=3D2>Scottsdale, AZ&nbsp; 85260-3601</FONT>
<BR><FONT SIZE=3D2>JPyne AT worldatwork DOT org</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2B832.D10E8320--

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