How to set up NetBackup environment path variables for Windows.

Article: 100023215
Last Published: 2017-12-05
Ratings: 1 1
Product(s): NetBackup & Alta Data Protection

Problem

How to set up NetBackup environment path variables for Windows.

Solution

If the environment path variable is not set up for NetBackup, attempting to run NetBackup commands from a different directory/path will fail.


Solution:

1. Check current path settings on server. From a command prompt, type "path".

Example:
C:> path
PATH=C:\Oracle\Ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Altiris\Software Virtualization Agent\;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Symantec\pcAnywhere\

2. To set the NetBackup path environment variable.

Go to Control Panel and select System. On the System Properties page, select the Advanced tab and click on the Environment Variables button (Figure 1).

Figure 1.
 

Then Environment Variables screen will appear as seen in Figure 2.

Figure 2.
 

Under the System variables section, locate the "Path" variable and click on the Edit button (Figure 3).

Figure 3.
 

Add the following NetBackup paths to the "Variable value", each separated by a ";". The installation path used in this example is C:\Program Files .

C:\Program Files\VERITAS\NetBackup\bin
C:\Program Files\VERITAS\NetBackup\bin\admincmd
C:\Program Files\VERITAS\NetBackup\bin\goodies
C:\Program Files\VERITAS\NetBackup\bin\support
C:\Program Files\VERITAS\Volmgr\bin

3. Verify that the path has been set. From a command prompt, type "path".

Example:
C:\> path
PATH=C:\Oracle\Ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Altiris\Software Virtualization Agent\;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\VERITAS\NetBackup\bin\;C:\Program Files\VERITAS\NetBackup\bin\admincmd\;C:\Program Files\VERITAS\NetBackup\bin\goodies;C:\Program Files\VERITAS\Volmgr\bin\

It is now possible to run NetBackup commands from any directory or path.

Was this content helpful?