Veritas-bu

Re: [Veritas-bu] Help in using command line.

2007-10-17 18:05:15
Subject: Re: [Veritas-bu] Help in using command line.
From: <Anil.Maurya AT sanofi-aventis DOT com>
To: <Mark.Donaldson AT cexp DOT com>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Wed, 17 Oct 2007 17:51:22 -0400
I am trying to write menu for operator so they can do following task only in Netbackup .. If any body has script , please forward me. We are having NBU 6.5
 
1). Check backup status whether failed , missed and completed for a host in last 24 hours ?
2). Does catalog backup done or failed .
3). What is % utilization for each volume pool .
4). In last 24 hour was there any media error.
5). run checkout for offsite eject ( for vaulting) 
6) Run checkin for expired tape from offsite.
7) Checking new scratch tapes in library.
8). what is Tape library utilization which tells how many assigned to each pool and how much left in scratch pool
9) Operator can also find out specific detail about any tape
 
THX
 


From: Mark.Donaldson AT cexp DOT com [mailto:Mark.Donaldson AT cexp DOT com]
Sent: Wednesday, October 17, 2007 5:09 PM
To: Maurya, Anil PH/US/EXT; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Help in using command line.

Anything that can be done in the NB GUI can be done via command line, usually faster (with the possible exception of cold building a policy and schedule set).  Netbackup is very extensible via command-line.  If it doesn't do what you want out of the box, you can probably script it.
 
That said, your request is a bit broad.  I have 250 custom scripts written for Netbackup and just burying you in them wouldn't make sense (plus at least half are specific to my environment).  I'd suggest starting with the command line reference guide here:
 
 
..and just read it.  It's boring to read cover to cover but it's a great way to see all what's possible.
 
You also might just search the history of this mail list, I know many code snippets have been posted.
 
Good Luck.
 
I'll forward the pdf from my Veritas Vision presention on writing your own tools directly.  It was written when v4.5 was the top version but a lot of it is still applicable.
 
-M
 


From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Anil.Maurya AT sanofi-aventis DOT com
Sent: Wednesday, October 17, 2007 1:45 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Help in using command line.

Hi
My company planning to migrate backup strategy from TSM to Netbackup. I am good in writing script in TSM but very bad in Netbackup. Do any body have command line examples or script i can use ?
 
THX
 
Anil Maurya
DCO  Backup/Recovery  team
 
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu