Not sure how to do it in bpdbjobs, but you can get the timestamp by
looking in /usr/openv/netbackup/db/images/client_name_here/STREAMS.
-Shane
On 8/30/06, Yarldi Belac <belac.bi at gmail.com> wrote:
>
> The date of last good backup does not appear to be in the output of
> 'bpdbjobs -all_columns', yet if I do a plain 'bpdbjobs', I have the option
> of using 'BPDBJOBS_COLDEFS = LastBackup' in bp.conf.
>
> This gets me the last good backup date, but in my script I really want to
> use 'bpdbjobs -most_columns' (or all_columns if I must). I don't want to
> have to rely on the formatted output defined in bp.conf, nor do I want to
> change my existing BPDBJOBS_COLDEFS entries in bp.conf.
>
> So, how does plain old 'bpdbjobs' get last backup date, when 'bpdbjobs
> -all_columns' does not have it?
>
> In my script, in order to get last backup date, I'm running this for each
> client/policy displayed by bpdbjobs:
>
> bpimagelist -U -client ${myClient} -hoursago -policy ${myPolicy} -st
> $(schedType}
>
> This really slows down my script. Anyone know another way of getting the
> last backup date from 'bpdbjobs -all_columns'?
>
>
>
> _______________________________________________
> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
>
|