How to relocate NetBackup's Change Journal database files from the root of a volume

How to relocate NetBackup's Change Journal database files from the root of a volume

Article: 100023952
Last Published: 2018-05-14
Ratings: 2 0
Product(s): NetBackup

Problem

When Accelerator is being used to protect Windows Clients, three files will appear on the root of every drive letter being protected by Accelerator.

VxCJDelete.dat
VxCJMon.dat
VxCJInfo.dat



Additionally, enabling the " Use Change Journal" check-box within a Client's Host Properties will also cause these three files to be created on protected volumes.

NetBackup depends on these three files to document NetBackup activity in relation to the Windows Change Journal.

Because these three files are visible on the root path of each drive letter, there may be circumstances where relocating these three files might be desired.

This is possible and this article documents the steps to accomplish the task.

Solution

Immediately after checking the "Use Change Journal" check-box within a Client's Host Properties, two files will automatically appear on the root of every volume:
VxCJDelete.dat
VxCJMon.dat 

After running the first Change Journal (or Accelerator) enabled backup of a volume - two things occur:

1. A third file appears on the root of the volume: VxCJInfo.dat



2. A registry key with the GUID of the Volume appears in this registry location:  HKLM \Software\ Veritas \NetBackup\ CurrentVersion \ ChangeJournal



If multiple volumes have already been protected by Accelerator enabled jobs, multiple GUID folders will appear in the registry.
It is not necessary to relocate the three files for every volume.  Each volume must be configured independently.
If multiple volumes exist, it will be necessary to map which "Volume{XXX.EN_US}" registry entries belong to which drive letters.  Use the output of the 'mountvol' command to produce a map.




Although the 3 VxCJxxx.dat files can be relocated from the root of the volume, they must still reside on the volume itself.

Decide where you'd like to relocate the 3 files to (in this example a folder named D:\ChangeJournal is used).

1. Stop the NetBackup services on the Client machine
2. Inside the Volume GUID folder registry key, create 3 new registry (REG_SZ) entries named ChangeDatabase, DeleteDatabase and InfoDatabase.
Give the 3 keys the following Value Data:
ChangeDatabase should be set to \<path>\VxCJMon.dat
DeleteDatabase should be set to \<path>\VxCJDelete.dat
InfoDatabase should be set to \<path>\VxCJInfo.dat

Where ' <path>' is the folder structure (minus the drive letter) where you want the files to reside.





3. Create the <path> on the file system and  Move the 3 files into the <path>.



4. Start the NetBackup services on the Client machine


File relocation is now complete and Accelerator will use the newly relocated files for Change Journal monitoring.

Was this content helpful?