cancel
Showing results for 
Search instead for 
Did you mean: 

Policy Success

H_Sharma
Level 6

Hello Experts,

Pls let me know where to find the last full/incremental backup got successfull or not? If there is no ops center and jobs details in activity monitor?

Thanks, 

1 ACCEPTED SOLUTION

Accepted Solutions

revarooo
Level 6
Employee

If you cannot access the Activity Monitor or Opscenter, then use the command line:

bpdbjobs, this is located in the NetBackup directory under bin\admincmd

 

C:\Windows\system32>bpdbjobs
JobID         Type State Status Policy Schedule Client Dest Media Svr Active PID FATPipe Job Method
    3 Image Delete  Done      1                                             6500
    2       Backup  Done      0   test     FULL master       4600      No
    1       Backup  Done   2074   test     FULL master

 

bpdbjobs -help will show you more options

 

C:\Windows\system32>bpdbjobs -help
bpdbjobs: [ -report ] [ -M <master servers> ] [ -ignore_parent_jobs]
        [ -vault | -lvault | -all_columns | -most_columns | -gdm ]
        [ -file <pathname> ] [ -append ] [ -noheader ] [ -mastertime ]
        [ -t <timestamp> ] [ -jobid <job1,job2,...jobn> ]
bpdbjobs: -summary [ -M <master servers> ] [ -ignore_parent_jobs]
        [ -U | -L | -all_columns ]
        [ -file <pathname> ] [ -append ]
bpdbjobs: -resume | -suspend | -delete | -cancel | -restart
        <job1,job2,...jobn> | type=<jobtype> | type=all
        [ -M <master servers> ] [-reason "<reason>"] [ -quiet ]
bpdbjobs: -cancel_all [ -M <master servers> ] [-reason "<reason>"]
bpdbjobs: -clean [ -M <master servers> ]
        [ -keep_hours <hours> ] or [ -keep_days <days> ]
        [ -keep_successful_hours <hours> ] or [ -keep_successful_days <days> ]
bpdbjobs: -change_priority_by [ -M <master servers> ] -priority <number>
        -jobid <job1,job2,...jobn>
bpdbjobs: -set_priority [ -M <master servers> ] -priority <number>
        -jobid <job1,job2,...jobn>
bpdbjobs: -version
bpdbjobs: -help

View solution in original post

8 REPLIES 8

revarooo
Level 6
Employee

If you cannot access the Activity Monitor or Opscenter, then use the command line:

bpdbjobs, this is located in the NetBackup directory under bin\admincmd

 

C:\Windows\system32>bpdbjobs
JobID         Type State Status Policy Schedule Client Dest Media Svr Active PID FATPipe Job Method
    3 Image Delete  Done      1                                             6500
    2       Backup  Done      0   test     FULL master       4600      No
    1       Backup  Done   2074   test     FULL master

 

bpdbjobs -help will show you more options

 

C:\Windows\system32>bpdbjobs -help
bpdbjobs: [ -report ] [ -M <master servers> ] [ -ignore_parent_jobs]
        [ -vault | -lvault | -all_columns | -most_columns | -gdm ]
        [ -file <pathname> ] [ -append ] [ -noheader ] [ -mastertime ]
        [ -t <timestamp> ] [ -jobid <job1,job2,...jobn> ]
bpdbjobs: -summary [ -M <master servers> ] [ -ignore_parent_jobs]
        [ -U | -L | -all_columns ]
        [ -file <pathname> ] [ -append ]
bpdbjobs: -resume | -suspend | -delete | -cancel | -restart
        <job1,job2,...jobn> | type=<jobtype> | type=all
        [ -M <master servers> ] [-reason "<reason>"] [ -quiet ]
bpdbjobs: -cancel_all [ -M <master servers> ] [-reason "<reason>"]
bpdbjobs: -clean [ -M <master servers> ]
        [ -keep_hours <hours> ] or [ -keep_days <days> ]
        [ -keep_successful_hours <hours> ] or [ -keep_successful_days <days> ]
bpdbjobs: -change_priority_by [ -M <master servers> ] -priority <number>
        -jobid <job1,job2,...jobn>
bpdbjobs: -set_priority [ -M <master servers> ] -priority <number>
        -jobid <job1,job2,...jobn>
bpdbjobs: -version
bpdbjobs: -help

Nicolai
Moderator
Moderator
Partner    VIP   

From the client run bpclimagelist or use the Barckup Archive & Restore GUI

Marianne
Level 6
Partner    VIP    Accredited Certified
Check Client Backups report. Select a period (e.g. last 7 days). BAR GUI is probably easiest.

arjun7
Level 4

bpimagelist -l -client <client name> -d 03/04/14 -e 010/04/14 -sl incremental

H_Sharma
Level 6

Do we have any file on netbackup that created the specified dates backup status codes?

revarooo
Level 6
Employee

Could you rephrase the question as I don't understand ?

RonCaplinger
Level 6

If I understand correctly, you are looking for a file that might show you the status codes for each backup job on specific dates.  There is no such file that you can reference, this information is stored in NetBackup's internal database.  You would need to schedule one of the commands that were given to you above (bpdbjobs, or bpimagelist, depending on which one provides the information you need) and pipe the output from those commands to a file that you can then read into a script or manipulate the output data however you need to produce the report you want.

Marianne
Level 6
Partner    VIP    Accredited Certified

Maybe you need to take a day or two to go through all your recent discussions and read through the answers.

Remember that I told you about the NBU error database a couple of days ago?
Db log 

Backup Status report (bperror -backstat .... .... ) draws from this database.

Catalog info about successful, unexpired backups (such as Client Backups report, bpimagelist, etc) draws from the Image database.

NBU catalogs and what they store are described in NBU Admin Guide I under:
Parts of the NetBackup catalog 

You will agree that we have answered your query in your opening post, right?