Forum Discussion

4 Replies

  • You could probably use the client backups report via the GUI (***EDIT*** output can be exported to a file for further 'manipulation') or from the command line bpimagelist

    e.g.

    bpimagelist   -hoursago  168   -U  |  awk   '{kb+=$5}  END  {print kb}'

    or maybe script it:

    for i in `cat client_list` ; do
    echo $i
    bpimagelist -hoursago 360 -U -client $i |awk '{file+=$4} {kb+=$5} END {print file" " kb}'
    echo "------------"
    done

    ***EDIT***

    If you need to differentiate Fulls from Diffs, try running the bpimagelist without "filtering" as schedule type is also included in the output

    e.g.

    # bpimagelist -hoursago 36 -U -client client
    Backed Up         Expires       Files       KB  C  Sched Type   Policy
    ----------------  ---------- -------- --------  -  ------------ ------------
    10/22/2010 08:00  11/22/2010       18 48919463  N  Full Backup  UNIX_policy
    10/21/2010 18:30  11/21/2010       39  2297124  N  Differential UNIX_archive

  •  Andy's script is great - maybe you want to add it to a cronjob so that it will mail you each morning or whenever you'd like...

    As you did not mention the version of Netbackup, maybe you want to look at Veritas Backup reporter -

    Request an eval key from your account manager and run it - you never know, management might just purchase a full license key -

    Just a thought....