cancel
Showing results for 
Search instead for 
Did you mean: 

Log files

traghav86
Level 5

Hi Guys

Can someone please assist me to with log files, what log files i need to check and from which path to investigate backup failures for below backup types

 

local drives

SQL

Oracle

Linux file system

Exchange

VMDK

Hyper V

Rahul
5 REPLIES 5

Tape_Archived
Moderator
Moderator
   VIP   

All the NetBackup logs are present under /usr/openv/netbackup/logs or install_path\Veritas\NetBackup\logs

You should check at least admin, bpbrm, bpadm, bprd on Master Server, additionally bptm on Media server and bpcd, bpkar on NetBackup client

You can also get the overview logs in GUI under Reports => Problems

If you interested further explore the vxlogview command which generates the unified logs apart from above mentioned legacy logs.

xlrd
Level 3

It depends on the problem you are experiencing - there is no ultimate set of logs to "fix" all the problems, however NetBackup Logging Reference Guide could be a good starting point. If you are using NetBackup 7.7, you can find it on https://www.veritas.com/support/en_US/article.DOC8600

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
I could not agree more: " It depends on the problem you are experiencing - there is no ultimate set of logs to "fix" all the problems " You first of all need to understand the backup or restore process flow diagram to know where in the process flow the error occurred. NBU 7.6 and earlier contains process flow diagrams with explanation on Appendix A of Troubleshooting Guide. For DB and Application agent backups, each of them has its own Admin Guide. These manuals each has a Troubleshooting chapter that explains logs needed for that agent. Please locate all relevant manuals in Handy NBU Links in my signature and download them.

mph999
Level 6
Employee Accredited

It depends where in the job it fails.

For example, what logs are involved with an SLP backup and duplication - answer about 25 (approx).  But this includes, backup (nothing to do with SLP really), the SLP 'management of the image', and then if that all works, the duplication (again this part has nothing to do with the SLP side - well a tiny bit as nbstserv has to generate the correct command ).

How many logs do you generally need for a true SLP problem - usually 1, nbstserv log.

 

Advice, take each issue as it comes, and work through it depending on where in the job it fails.

Activity Monitor usually shows the error and the process that it failed on.  For example, a backup might fail with an error in bptm.  The error might be in bptm, or the actual error might have happened in a process related to bptm and just gets 'reported' in bptm.

Then use the process flow to find out what the main processes are that bptm talks to - again this depends where in the job it fails, but as a high level overview:

nbpem starts the job, passes details to Activity Monitor, nbjm then talks to bpjobd and only then does the job appear in activity monitor.  nbjm then starts bpbrm which in turn starts bptm and bpbkar.

bptm asks for resources from nbjm, nbjm talks t nbrb and nbrb talks to emm and mds to get these.

If all that works, bptm then talks to ltid to get he tape loaded, ltid goes off and talks to tld which talks to tldcd to get this done ... and so on ...

So you can see, you ask an impossible question - add into the above communication loogs, and OS stuff and you have a load of logs and it would be very rare that we needed all of them.

Better is to learn 'how' to collect and setup logs (many people cannot do this), and how to work out the approximate area of the problem.  Fair to say, sometimes it is not obvious and you have to hunt around, but for 'common' issues you can usually get quite close.

nbutech
Level 6
Accredited Certified

For logs for particular backup type you can refer the admin guide for them..

However there are basic core logging in all cases

 

So if you can understand the process flow for master media and client for backup/restore you would know basic logs to gather

Additonally you can take help from below links

https://www.veritas.com/support/en_US/article.000067942