bpgetconfig

bpgetconfig — helper program to obtain configuration information

SYNOPSIS

<admin_dir_path>bpgetconfig -M master [-x | -X] [config_item ...]

<admin_dir_path>bpgetconfig [-u | -h] [-x | -X] [config_item ...]

<admin_dir_path>bpgetconfig -H config_item

<admin_dir_path>bpgetconfig -g server [-L | -U | -l] [-c] [-A]

<admin_dir_path>bpgetconfig -s server [-L | -U | -l] [-c] [-A]

On Windows systems, <admin_dir_path> is <install_path>\NetBackup\bin\admincmd\

DESCRIPTION

bpgetconfig can be used as a stand-alone program or as a helper program for the backuptrace and the restoretrace commands to obtain configuration information. This command is available for all NetBackup server platforms. It displays the configuration information of a specified server in various formats.

bpgetconfig also retrieves general host information from a specified host server by using the -g or -s option.

You must have administrator privileges to run this command.

OPTIONS

-A

Displays all available system information. The -A option can be used only with the -g or -s option.

-c

Displays the ciphers, one per line, that are appended to the -g or -s option output. The -c option can be used only with the -g or -s option.

-e

Writes the exclude_list from server to filename.

-g server

Selects the host server (server) for which the following general Backup Exec and NetBackup information appears:

  • Master or Client

  • NetBackup Client Platform

  • NetBackup Client Protocol Level

  • Product Type (for Backup Exec if installed, else NetBackup)

  • Version Name (for Backup Exec if installed, else NetBackup)

  • Version number (for Backup Exec if installed, else NetBackup)

  • Installed Path for NetBackup Bin (null if Backup Exec is installed)

  • Installed OS for host server

-H config_item

Displays the valid configuration items.

-h

Displays the default local host configuration.

-i

Writes the include_list from server to filename.

-L

Displays a long, user-readable list. The -L option can be used only with the -g or -s option.

-l

Displays a compact, machine-readable list. The -l option can be used only with the -g or -s option.

-M master

Specifies the master server (master) whose host configuration appears.

-s server

Selects the host server (server) for which the following general system information that is NetBackup specific appears:

  • Master or Client

  • NetBackup Client Platform

  • NetBackup Client Protocol Level

  • Product Type (NetBackup)

  • Version Name

  • Version number

  • Installed Path for NetBackup Bin

  • Installed OS for host server

-t

Displays the tier information, one item per line, that is appended to the -s option output. The -t option can be used only with the -g or -s option.

-U

Displays a brief, user-readable list (default). The -U option can be used only with the -g or -s option.

-u

Displays the current user configuration.

-X

Lists all configuration items by default. The -x and -X options may be combined with the -M, -h, and -u options. The -x and -X options have no effect if one or more configuration items are specified on the command line.

If config_item is specified, it appears on the specified configuration items.

-x

Excludes the items not explicitly listed in the configuration.

EXAMPLES

EXAMPLE 1

Retrieve the VERSIONINFO option setting from the bp.conf file.

# bpgetconfig VERSIONINFO
VERSIONINFO = "SunOS" "5.9" "Unknown" "NetBackup" "7.0" 700000

EXAMPLE 2

Retrieve all available system information and display a long, user-readable list.

# bpgetconfig -s hagar -A -L
Client/Master = Master
NetBackup Client Platform = Solaris, Solaris9
NetBackup Client Protocol Level = 7.0
Product = NetBackup
Version Name = 7.0
Version Number = 700000
NetBackup Installation Path = /usr/openv/netbackup/bin
Client OS/Release = SunOS 5.9 
Cipher = 
Patch Level = 7.0