02-15-2015 08:16 AM
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,
Solved! Go to Solution.
02-15-2015 09:26 AM
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
02-15-2015 09:26 AM
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
02-15-2015 11:51 AM
From the client run bpclimagelist or use the Barckup Archive & Restore GUI
02-15-2015 08:38 PM
02-16-2015 02:14 AM
bpimagelist -l -client <client name> -d 03/04/14 -e 010/04/14 -sl incremental
02-19-2015 10:28 AM
Do we have any file on netbackup that created the specified dates backup status codes?
02-19-2015 10:46 AM
Could you rephrase the question as I don't understand ?
02-19-2015 11:00 AM
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.
02-20-2015 12:39 AM
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?