Veritas-bu

[Veritas-bu] NetBackup Question

2003-01-09 17:47:39
Subject: [Veritas-bu] NetBackup Question
From: rob AT worman DOT org (Rob Worman)
Date: Thu, 9 Jan 2003 16:47:39 -0600
do a "vmchange -vltsent 0"

or else use vltoffsitemedia, which is nicer 'cause you can do 
multiple changes with one execution...


At 2:59 PM -0700 1/9/03, Jeffrey Pyne wrote:
>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


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