Forum Discussion

Dan_Szuberla's avatar
19 years ago
Solved

client backup report

I'm seeking a commandline option for Client Backup Report in the gui.

i need a comma or tab delimited command that will yield the following:

Client name, Kilobytes backed up, backup date, backup time (time started), schedule name, elapsed time, policy

i'd like to run the command per 24 hours from 5pm to 5pm


i've tried
bpimagelist -U -d 11/01/06 17:00:00 -e 11/02/06 17:00:00

bpdbjobs -report -all_columns

but neither of these provide the columns i need.. I'd be happy with an output of all the columns provided in Client Backups Report. as i can just filter the unneeded columns.
  • Hi Dan,

    The following has been tested using a Windows 2000 Pro SP4 NBU ES Remote Admin Console v5.1 MP3aS2 querying a Windows 2000 Server Sp4 NBU ES Master Server v5.1 MP3aS2.

    Basically, create a BPDBJOBS_COLDEFS registry multi_sz value to contain the required column definitions, and then just run "bpdbjobs -report".

    In more detail:
    1) Start / Run / regedt32 (do not use regedit, as you can't create reg_multi_sz values with regedit).
    2) Select the HKEY_LOCAL_MACHINE tab.
    3) Expand SOFTWARE
    4) Expand VERITAS
    5) Expand NetBackup
    6) Expand CurrentVersion
    7) Click on Config
    8) On the toolbar, Edit and Add Value
    9) Change data type to REG_MULTI_SZ
    10) Enter value name of BPDBJOBS_COLDEFS
    11) Click OK
    12) In the popup dialog box paste the following:
    CLIENT 20 true
    KILOBYTES 12 true
    STARTED 20 true
    SCHEDULE 20 true
    ELAPSED 20 true
    POLICY 20 true

    Then from a DOS box, run:
    $ bpdbjobs -report -file a.txt
    $ more a.txt

    This web page lists the fields that can be reported:
    http://seer.support.veritas.com/docs/266314.htm

    Hope this helps.

    Regards,
    Dave.

14 Replies

Replies have been turned off for this discussion