Veritas-bu

[Veritas-bu] Volume of the Backup

2001-10-04 09:38:05
Subject: [Veritas-bu] Volume of the Backup
From: john.meyers AT wright DOT edu (John Meyers)
Date: Thu, 04 Oct 2001 09:38:05 -0400
 If you're looking for the partition or volume name the 'bpdbjobs' utility
 may be what your looking for.

 From the NetBackup FAQ,

---
# bpdbjobs -report -all_columns
 
 The output is a nasty list of comma separated values that contain EVERYTHING 
 about each job in the jobs database. Here's the list of parameters you get:
 
  1 jobid
  2 jobtype
  3 state
  4 status
  5 class
  6 schedule
  7 client 
  8 server
  9 started
 10 elapsed
 11 ended
 12 stunit
 13 try
 14 operation
 15 kbytes
 16 files
 17 pathlastwritten
 18 percent
 19 jobpid
 20 owner
 21 subtype
 22 classtype
 23 schedule_type
 24 priority
 25 group
 26 masterserver
 27 retentionunits
 28 retentionperiod
 29 compression
 30 kbyteslastwritten
 31 fileslastwritten
 32 filelistcount
 33 [files]...
 34 trycount
 35 trypid
 36 trystunit
 37 tryserver
 38 trystarted
 39 tryelapsed
 40 tryended
 41 trystatus
 42 trystatusdescription
 43 trystatuscount
 44 [trystatuslines]...
 45 trybyteswritten
 46 tryfileswritten
 
 This is run from a master server or media server (or in a pinch from a 
 client that happens to be defined as a SERVER in the master's bp.conf) 
 
 rob AT worman DOT org
---

 Field 33 should have the top level partition or volume names for each backup
 job.  Field 32 indicates the number of file references listed in field 33.
 The bpdbjobs output could be readily parsed via a perl script to extract 
 the information you need.

 Hope this helps,

 John Meyers
 Computing Services
 Wright State University
 E-mail: john.meyers AT wright DOT edu

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