Forum Discussion

H_Sharma's avatar
H_Sharma
Level 6
10 years ago

Policy Success

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, 
  • revarooo's avatar
    10 years ago

    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