05-20-2015 06:19 AM
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.
05-20-2015 06:31 AM
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" ) )
05-20-2015 08:04 AM
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
05-20-2015 08:24 AM
05-20-2015 08:29 AM
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.
05-20-2015 08:29 AM
Did the 'for' loop command show anything?
05-20-2015 11:18 AM
^ trying to run that now but can't figure out what directory I need to be in to run it.
05-20-2015 11:49 AM
vxlogcfg is in <install_path>\NetBackup\bin\.
So, either issue full path to vxlogcfg, update PATH variable or cd into this folder.
05-21-2015 10:01 AM
Ok got it to run looking for the output now.
05-21-2015 10:10 AM
Ok found the output, moved the files, and reran the command and they all moved to the new drive.
Thank you everyone