Veritas-bu

[Veritas-bu] NetBackup Question

2003-01-09 16:59:41
Subject: [Veritas-bu] NetBackup Question
From: jpyne AT worldatwork DOT org (Jeffrey Pyne)
Date: Thu, 9 Jan 2003 14:59:41 -0700
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

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