cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find all Backup jobs issued by NBU

Fabian_Schwarz
Level 4

Hi,

Is there any log where could I find all Backup jobs issued by NBU ?

5 REPLIES 5

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

You can use bpdbjobs, interacts with NetBackup jobs database

https://www.veritas.com/support/en_US/doc/123533878-127136857-0/v123536850-127136857

Ok, but I´m looking for any file where I could read all NBU Backup command issued, in the bpbackup format...

bpbackup -k "Policy Win NT 01/01/18" -i -h slater -p win_nt_policy -t 13

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

When you run a backup is recorded in the jobs database and you can report on it for a while using bpdbjobs, as described in previous reply. This includes successful and unsuccessful jobs and it is kept for 3 days by default (you can modify KEEP_JOBS_HOURS value to increase if needed).

If a job is successful you can get a different set of information about it using bpimagelist, because the job has now transitioned from a job to an image. For this you can use bpimagelist.

If you want information about jobs (success/failures/etc) then you should really configure opscenter which can keep this information for years, not days. 

When I start NBU Java gui, I can see a black console where all NBU commands are showed. 

Is there any way to store that commands to a file ?

Marianne
Level 6
Partner    VIP    Accredited Certified

See if the Solution in this post helps:

https://vox.veritas.com/t5/NetBackup/Unable-to-load-information-for-netbackup-storage-units-and-Host...

Edit the file /usr/openv/java/Debug.properties
 
Add or uncomment the following lines :
 
printcmds=true
printCmdLines=true
debugMask=0x0C000000
 
A log file will be created under /usr/openv/netbackup/logs/user_ops/nbjlogs for each instance of Java GUI you have open.