Forum Discussion

Jan_Rustico's avatar
11 years ago

Smartway maintain NBU logs

Logs are accumulating and i have small disk space. II've tried to relocate the logs to other drive.  C:\Program Files\Veritas\NetBackup\logs
  • RamNagalla's avatar
    11 years ago

    so does that other Drive helped you?

    if you are dealing with legecy logs.. remove all unwanted log fodlers. and keep the verbose as 0., so that it will not generate the logs...

    and when you are dealing with the unified logs.. do enable the log recycle so that they will get deleted automatically when the reach certin level..

    http://www.symantec.com/business/support/index?page=content&id=TECH44292

  • StefanosM's avatar
    11 years ago

    The easiest way to relocate the logs to another drive (or file system) is to mount a drive (or file system) using the logs directory as mount point. using this solution you do not mess with registry settings and it is working like a charm.

    Works for both windows and UNIX.

     

  • Marianne's avatar
    11 years ago

    Two TNs:

    DOCUMENTATION: How to configure Veritas NetBackup (tm) to write Unified and Legacy log files to a different directory
    http://www.symantec.com/docs/TECH45907 


    DOCUMENTATION: How to manually change the path where NetBackup log files are located.
    http://www.symantec.com/docs/TECH15567 

    As per Nagalla's advice - check that default logging level is 0.
    Only ever increase logging levels when requested by Symantec and return to 0 when troubleshooting is done.

    Also delete unnecessary log folders. On a master you should only need the following:
    admin bprd bpdbm

    If master is also a media server:
    bptm and bpbrm
    If disk STU on master:
    bpdm.

  • Mark_Solutions's avatar
    11 years ago

    I have found that at 7.5 onwards the main issue is the unified logs which tend to grow to 50MB and have lots of them by default.

    Obviously moving them is a good idea but you can just control their size and number using the vxlogcfg command which generally does the trick.

    So to move all NBU unified logs:

    vxlogcfg –a –p 51216 -o ALL –s LogDirectory=D:\NBU_LOGS

    Set everything to level zero:

    vxconfig –a –p 51216 –o –ALL –s DiagnosticLevel=0 -s DebugLevel=0

    To only keep three of each log file (you choie of how many to keep)

    vxlogcfg –a -p 51216 –o ALL –s NumberOfLogFiles=3

    That should control things pretty well for you (then just delete all of the old ones)