bpdbjobs command line options

The bpdbjobs command interacts with the jobs database to delete or move completed job files. The command line options supersede all other job retention instructions.

The -clean option causes bpdbjobs to delete the done jobs that are older than a specified time period as follows:

bpdbjobs -clean [ -M <master servers> ]
[ -keep_hours <hours> ] or [ -keep_days <days> ]
[ -keep_successful_hours <hours> ] or
[ -keep_successful_days <days> ]

For example, the following command deletes unsuccessful jobs older than 72 hours.

bpdbjobs -clean -keep_hours 72

More information is available in NetBackup Commands.