About the BPDBJOBS_OPTIONS environment variable

The BPDBJOBS_OPTIONS environment variable provides a convenient method to set job retention options with a script. The bpdbjobs process determines how long to retain a job by checking for the BPDBJOBS_OPTIONS environment variable. If present, BPDBJOBS_OPTIONS overrides the registry key settings.

The following options can be used to determine the length of time NetBackup retains jobs.

The options should be entered in lower case in the BPDBJOBS_OPTIONS environmental variable:

A batch file (cleanjobs.bat) was used in the following example. You can copy the script directly from this document and changed as needed.

You can store the .bat file anywhere, as long as it is run from the appropriate directory.

In the following example, the administrator created and stored cleanjobs.bat in C:\Program Files\VERITAS\NetBackup.