Veritas-bu

[Veritas-bu] only allow the backup to run in the backup window

2005-08-14 00:04:08
Subject: [Veritas-bu] only allow the backup to run in the backup window
From: David Rock <dave-bu AT graniteweb DOT com> (David Rock)
Date: Sat, 13 Aug 2005 23:04:08 -0500
--6Nae48J/T25AfBN4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* hsuj AT optonline DOT net <hsuj AT optonline DOT net> [2005-08-13 10:55]:
> I wanted to restrict the backup to be started or restarted in the
> backup time window defined in NetBackup policy. When it is out of the
> time window, the startup/restart is not allowed.
>=20
> to achieve that, I am thinking if there is NetBackup parameter feeding
> in bpstart_notify script, and thus we can add a logic in the script to
> see if the time is out of the backup window or not, if it is, then
> exit from the script.

You are overthinking it. This is what NetBackup's schedule windows do
already. They define the time that a backup is allowed to start. So, if
your window is from 01:00 to 04:00, if the backup tries to run at 05:00,
it will fail with a 196. No bpstart_notify logic is necessary.

--=20
David Rock
david AT graniteweb DOT com

--6Nae48J/T25AfBN4
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFC/sK4MrO4/Yb/xwYRAtY5AJkBiO16bYB/9J7nuYtsG2ErIaR4qQCgkbN2
bZRrTJLluY63t/yMno8P0RQ=
=ujEp
-----END PGP SIGNATURE-----

--6Nae48J/T25AfBN4--