Veritas-bu

[Veritas-bu] How to tell what just got backed up?

2002-06-05 21:40:37
Subject: [Veritas-bu] How to tell what just got backed up?
From: kastus AT epocrates DOT com (Shchuka, Konstantin)
Date: Wed, 5 Jun 2002 18:40:37 -0700
On Wed, Jun 05, 2002 at 11:30:40PM +0100, Richard.Hall wrote:
> Apologies in advance if (when!) the info below is incomplete, but I'm
> working from home with no manuals, and with a very incomplete knowledge of
> the command line interface. A search of the archives revealed nothing (but
> then it failed to show stuff which I 'know' is there, so maybe I'm doing
> something wrong there as well)
> 
> Scenario: Solaris 2.6 and 8 clients, NBU 3.4 DC, patch level ?
> 
> Client configured with ALL_LOCAL_DRIVES, and whatever the options are to
> get a separate job per filesystem. All works fine (normally ;-)
> 
> I now want to run a script when the backup for a particular filesystem
> completes. I thought the answer would be bpend_notify (never had any
> reason to use it before, so no real knowledge), but I cannot find
> anything which tells me which filesystem has just been backed up, only
> things like backup IDs, class names etc. Is it there somewhere, or am I on
> a hiding to nothing?
> 

I think you are talking about bplist command:

/usr/openv/netbackup/bin/bplist -help 
USAGE: bplist [-A | -B] [-C client] [-S master_server]
      [-t class_type] [-k class] [-keyword "keyword phrase"]
      [-F] [-R [n]] [-b | -c | -u] [-l] [-r] [-T] [-I] [-PI]
      [-unix_files | -nt_files] [-Listseconds]
      [-s mm/dd/yyyy [hh:mm:ss]] [-e mm/dd/yyyy [hh:mm:ss]] [filename]

Run it on the clinet and it will produce a list of files which
have been backed up.

HTH, -Kastus
-- 
Konstantin 'Kastus' Shchuka
Unix System Administrator
ePocrates Inc.
tel 650.232.4886
fax 650.592.6995