Veritas-bu

[Veritas-bu] Email reports

2005-04-19 00:20:32
Subject: [Veritas-bu] Email reports
From: David Rock <dave-bu AT graniteweb DOT com> (David Rock)
Date: Mon, 18 Apr 2005 23:20:32 -0500
--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Kevin Freels <KFreels AT askjeeves DOT com> [2005-04-18 09:38]:
> Greetings!!
>=20
> I have more or less asked this question before. I looked through my
> archives, but I didn't really find the answer I was looking for.
>=20
> I want to have NB email the "details" of each individual backup job when
> it completes to the admin email address. By this, I mean the same stuff
> you would see if you went to the Activity Monitor and did a "details" on
> any of the completed jobs. What I need is the ability to see what media
> were used for what job so I can create a report each morning about what
> tapes were used (by job/host) and need to be rotated out of the robot
> (for off-site archives). I would also settle for individual emails from
> each job (I could pipe that to a file and form my own "report" if
> needed).
>=20
> I looked through all the logs under netbackup/logs and really didn't see
> anything separated by job ID. I imagine that bpend_notify can be
> used/altered to do this, but where is the individual job ID info/history
> kept? Is that actually under the db directory (didn't see anything
> there)?
>=20
> I'm wondering if bpdbjobs would be able to do this, but it seems to me
> that command just lists the processes, not the details. Has anyone done
> anything like this? I can parse out the detail info using perl if I have
> to, but I'm really lazy and don't like to re-invent the wheel.  :-)

bpdbjobs can list ALL the details;
        bpdbjobs -all_columns

Here is a decent link to help you get the jist of how the file is put
together, including a couple coding examples of what to do with it. It's
getting a little dated, but still a good read. Mine is the python one at
the end.

http://www.backupcentral.com/foms/netbackup-serve/cache/194.html

The 5.x manual has a similar description of the fields, although not
exactly complete on every field.

--=20
David Rock
david AT graniteweb DOT com

--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCZIcQMrO4/Yb/xwYRAhzmAJ0VH1L2FfdWOe7ds6WzMsvZcKpSpQCg24hO
754h0Xqr2BqJh06BAVsGy+I=
=RSF9
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--

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