Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

NetBackup 7.5 logfile move

Created: 01 May 2012 | 6 comments


I recently upgraded to NetBackup 7.5 and during the migration noticed that my c:\ drive was getting low on space.  I followed this guide to move the log files to a different drive.  Although now I'm not sure my logs are actually writing to the new location.  I know they are not writing to the old location because nothing is there.  I'm specifically trying to troubleshoot a Storage Unit duplication problem and I need to review the "Admin" log, but nothing has been written to it since the day I moved it.  I've stopped and started the Netbackup service and rebooted the server, but still nothing.  Anyone have any ideas...

I've also verified that the new logfile location is correct...


Comments 6 CommentsJump to latest comment

Omar Villa's picture

Try deleting any old log folders and see how it goes.

Omar Villa

Netbackup Expert

Twiter: @omarvillaNBU

AshGrove_JT's picture

So far I've narrowed it down to only legacy logs...I think the unified logs are going to the correct place...

I've tried deleting the log folders, then running the batch file to recreate, but still nothing is getting written to the directories....I've also verified that the legacy log reg setting is correctly pointing to the new location.

revarooo's picture

Have you created the log directory in netbackup\logs\admin\ to see if that is still being used?

Marianne's picture

There is also this O-L-D TechNote that says the 'Log Directory' registry entry is for 'client-type' logs, like bpcd, bpbkar, etc :

1. Add the following value within the registry to make sure all the (master and media process) log directories, as made by the batch file, are correctly written to (Figure 3):

Within the VERITAS\NetBackup\CurrentVersion\Paths key, add a string value called "BP_LOGS".  The value does not exist by default, so it will have to be created.  Its value will be a string directory path.  The following format must be deployed when entering this type of string value:       

Maybe our Symantec friends (revaroo, Martin, Chris) can tell us if this TN is still vailid?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

watsons's picture

Some more to check:

- Windows or Unix? For Unix it's a symlink to the new dir.
- Log dir permission (whether you permit write)
- Is your server (btw, media or master server?) clustered?
- Run this to check if any setting goes the other way round:

(for Unix) bpgetconfig | grep -i log | more


CRZ's picture

Original post indicates this is Windows (mentions "C:\") so that's the assumption I'm working with here.  Please let me know if I'm wrong!

TECH45907 is the way to go, as it was written for 7.x whereas TECH15567 looks like it was written for 4.5 with 5.x and 6.0 tacked on later as an afterthought :)

I'm sure you've done this already, but if you can do it again:

1. STOP NETBACKUP FIRST!  This isn't made as clear in the TN as I'd like but this is important.

2. Check the value of the HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Log Directory registry key and make sure it's pointing to a folder that already exists.  Make sure there aren't any rogue spaces at the end of the string, for example - best way to make sure this works is to copy the entire path and then open a new Window, pasting in that path to make sure you navigate into a folder that exists.  Assuming that goes ok, make sure the folders you want to see logs for have been created (or run the batch script to create them, again) - sounds like we want to see "admin" in there for sure

3. Restart NetBackup and (optionally) say a quick and silent prayer to Mr. V-Ray

Good luck! | APPLBN | 761LBN