How to redirect the NetBackup Accelerator track log to a different location

Article: 100038114
Last Published: 2025-05-02
Ratings: 6 6
Product(s): NetBackup & Alta Data Protection

Description

Track log size is relative to the size and number of files in a backup. There are also different track logs created for each policy/client combination.

  • In some cases space is an issue and there is a need to relocate the track logs to a different volume.
  • This document details the steps required migrate the track logs.

When performing an Accelerator enabled backup, track logs are created on the NetBackup client systems. These track logs can be found at the following locations:

Windows: install_path\NetBackup\track
UNIX/Linux: /usr/openv/netbackup/track

Under this directory, there will be a number of directories created that correspond to the master server name, storage server name, policy name, client name, and backup selections

1. Copy the current track logs to the destination location.

On UNIX/Linux:

1. Rename the track directory to make a backup copy:

# mv /usr/openv/netbackup/track /usr/openv/netbackup/track.save

2. Copy the saved directory to a new location:

# cp -rp /usr/openv/netbackup/track.save  <path to new destination directory for track logs>

On Windows (assuming that NetBackup is installed in C:\Program Files\Veritas):

1. Rename the track directory to make a backup copy:

C:\> move "C:\Program Files\Veritas\NetBackup\track" "C:\Program Files\Veritas\NetBackup\track.sv"

2. Copy the backup to a new location:

C:\> xcopy /e "C:\Program Files\Veritas\NetBackup\track.sv" "<path to new destination directory for track logs>"

2. Redirect the new backups to the new destination

On UNIX/Linux:

For example, if the desired directory is /vol1/track, run the following command:

# ln -s /vol1/track /usr/openv/netbackup/trac

On Windows:

For example, if the desired directory is E:\track and NetBackup was installed under directory C:\Program Files\Veritas, run the following command:

Syntax: C:\> mklink /D <original_location> <destination>
Example: C:\> mklink /D "C:\Program Files\Veritas\NetBackup\track" E:\track

OR...

This can be performed through NetBackup registry on the client server:

1. Launch the registry editor by clicking Start > Run and then type in regedit

2. Use the tree control on the left hand side to navigate to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Paths

3. Add a new registry entry:

a. Right click on Paths.
b. Select New > String Value.
c. Change New Value to TRACK_JOURNAL_PATH
d. Right click on TRACK_JOURNAL_PATH and select Modify...
e. Enter E:${_ps}track in the Value data: field.

Note: Be very careful to use the path separator variable '${_ps}' for each backslash (\) character in the path.

f. Select OK to save the change to the registry

Once complete, the next Accelerator enabled backup that is executed will redirect the track logs it creates to the directory specified.

3. Once everything is verified to be working properly, the Unix backup track.save directory can be removed to free up space on the original volume.

Was this content helpful?