09-14-2009 05:15 PM
09-14-2009 10:11 PM
09-15-2009 01:39 AM
09-18-2009 01:27 AM
09-18-2009 07:04 AM
09-18-2009 07:58 AM
09-18-2009 08:10 AM
10-13-2009 12:41 PM
Right - when those logs get cleaned is up to your configuration.
10-14-2009 11:30 AM
01-18-2010 08:08 AM
01-19-2010 07:05 AM
01-19-2010 09:17 AM
05-30-2017 08:29 AM - edited 05-30-2017 08:58 AM
Ancient thread, but first google result so hopefully this summary will help someone. This will format the bpdbjobs output for you. I've broken it up into multiple lines for formatting here, but it's really all on one line. The _COMMA_ bit preserves the escaped commas in the output. The last line looks for dates that aren't preceded by a newline, and fixes it up by adding the newline. Often the newline gets lost somewhere along the line.
/usr/openv/netbackup/bin/admincmd/bpdbjobs -jobid $jobid -all_columns |
perl -pe '
s{\\,}{_COMMA_}g;
s{,}{\n}g; s{_COMMA_}{,}g;
s{([^\n])(\d{2}/\d{2}/\d{4})}{$1\n$2}g;
'
| perl -ne 'print if m{^\d{2}/\d{2}/\d{4}}'
(substitute your jobid).