cancel
Showing results for 
Search instead for 
Did you mean: 

Log files

NathanNieman
Level 6

So I followed the write up how to move the log files.

 

And some are now writing to the new path but I am still running out of space.  I looked at the path of where the old log files are and I see these files still being wrtien to the old path.

 

Folders are 

nbemm

nbjm

nbrb

nbstserv

nbars

nbaudit

 

Of course these are the folders with the biggest logs.  Losing about 2+ GB a day

I just reset all logging to 0 but wanted to see why these didn't change.

 

I follow this write up

 

https://support.symantec.com/en_US/article.TECH15567.html

 

Server is windows 2008 R2 SP1

Running Netbackup 7.5.0.6

 

 

Any suggestions will be great.

 

Thank you.

9 REPLIES 9

sdo
Moderator
Moderator
Partner    VIP    Certified

Check the output from:

for /f "skip=1" %a in ('vxlogcfg -l') do (for /f "skip=1" %b in ('vxlogcfg -l -p %a') do (vxlogcfg -l -p %a -o %b | find /i "directory" ) )

Nicolai
Moderator
Moderator
Partner    VIP   

You need to restart Netbackup - if you moved location on the fly. The processes that hasn't re-started since the registry change has still the old resigtry value in memory.

The tech note also say you need to re-start:

Once the Log Directory key is modified and NetBackup is restarted, legacy logs will be written to this location

 

Marianne
Level 6
Partner    VIP    Accredited Certified
That TN is for legacy logs. You need to use vxlogcfg to change unified logs.

NathanNieman
Level 6

Yes sorry we restarted the server yesterday once this was done.

 

Ok found this.

 

https://support.symantec.com/en_US/article.TECH45907.html

 

So it looks like we need to do this to complete the process.

sdo
Moderator
Moderator
Partner    VIP    Certified

Did the 'for' loop command show anything?

NathanNieman
Level 6

^ trying to run that now but can't figure out what directory I need to be in to run it.

Marianne
Level 6
Partner    VIP    Accredited Certified

vxlogcfg is in <install_path>\NetBackup\bin\.

So, either issue full path to vxlogcfg, update PATH variable or cd into this folder.

NathanNieman
Level 6

Ok got it to run looking for the output now.

NathanNieman
Level 6

Ok found the output, moved the files, and reran the command and they all moved to the new drive.

 

 

Thank you everyone