Veritas-bu

[Veritas-bu] Details of jobfiles

2004-05-10 12:25:46
Subject: [Veritas-bu] Details of jobfiles
From: David Rock <dave-bu AT graniteweb DOT com> (David Rock)
Date: Mon, 10 May 2004 11:25:46 -0500
--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Arne Kloecker <arne AT topnet DOT de> [2004-05-10 15:25]:
> Hi,
>=20
> as i want to be able to get lots of infos about my backups system i made =
heavy=20
> use of bpdbjobs to see what jobs are running and the like.
> i found that bpdbjobs is a resource-hog and far too slow for me. So i sta=
rted=20
> to find out more about the stuff in the /usr/openv/netbackup/db/jobs/=20
> direcory and now have a rudimentary perl-script that can show me some inf=
os=20
> about the jobs (like, which are running, queued or done, which tape do th=
ey=20
> use, ...).=20
> I have some problems with restore jobs and some other stuff.
>=20
> Does anyone know more about the JOB_STATE and JOB_TYPE variables?
> Seems as if the State depends on the type, for backups i know types 0-3, =
and=20
> as far as i know type 0 are backups and type 2 are recovers.. but what ar=
e=20
> type 1? Archives?

These are for NBU 4.5, but the 3.4 ones that apply are the same

job_type  =3D {   '0' : 'Backup',
                '1' : 'Archive',
                '2' : 'Restore',
                '3' : 'Verify',
                '4' : 'Duplicate',
                '5' : 'Import',
                '6' : 'DB Backup',
                '7' : 'Vault'
            }
job_state =3D { '0' : 'Queued',
                                '1' : 'Active',
                                '2' : 'Re-Queued',
                                '3' : 'Done' }

--=20
David Rock
david AT graniteweb DOT com


--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAn60KMrO4/Yb/xwYRAvvFAJwPSbVj0XDZCDgrdR9jDq99JKEkygCdF0xM
pAgQ8OpkHlPumPAXiIqp15w=
=kEuE
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--

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