DOCUMENTATION: How to manually change the path where NetBackup log files are located.

Article:TECH15567  |  Created: 2009-01-04  |  Updated: 2014-02-13  |  Article URL http://www.symantec.com/docs/TECH15567
Article Type
Technical Solution



Issue



DOCUMENTATION: How to manually change the path where NetBackup log files are located.


Cause



   

Solution



NOTE: 

UNC path use for redirection may yield unexpected results and impede NetBackup process functionality. 

  If the log locations are changed from the default locations and the new log locations become inaccessible later,  unexpected behavior can occur in NetBackup.

I.E. Observed issues have included the inability to perform alternate client and alternate path restores. Vaulting and other areas of the product may also be affected. 

PROCEDURE:
Take the following steps to change the disk location where the legacy NetBackup log files are located on a windows Master, Media or Client server :

1.  Click Start | Run.  Run
regedt32.

2.  Browse to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion

3. Edit the entry 'Log Directory' and change the string to point to the new hard drive location.  

Figure 1
 

Figure 2
 

For example, if the setting is
C:\Program Files\Veritas\NetBackup\logs (Figure 1) where NetBackup was installed, and there are disk space issues on this drive, change the string value to D:\Program Files\Veritas\NetBackup\logs (Figure 2) and logs now will be pointed to the D:\ drive.

4. In registry 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:        

Actual path to the logs directory:
D:\Program Files\Veritas\NetBackup\logs

Path to enter into the string value:
D:${_ps}Program Files${_ps}Veritas${_ps}NetBackup${_ps}logs${_ps}

Figure 3
   

The new log directory will also have to be manually created in the new location.  If NetBackup's mkdir.bat file (the batch file that creates all of the log directories) is used, it will have to be moved to the new location and executed there.  Additionally, the ALTPATH directory within
<Install_Path>\netbackup\logs should remain in the original location.  

Note: Incorrect use of the Windows Registry Editor can have disastrous results on a server operating system.  Great care should be taken when making changes to a Windows Registry.  Registry modifications should only be carried out by persons experienced in the use of the Registry Editor application.




Legacy ID



239186


Article URL http://www.symantec.com/docs/TECH15567


Terms of use for this information are found in Legal Notices