Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Commands Reference Guide
  3. Appendix A. NetBackup Commands
  4. bpsetconfig
Veritas NetBackup™ Commands Reference Guide

Name

bpsetconfig — update a NetBackup configuration

SYNOPSIS

bpsetconfig [-h host] [-u user] [filename,...] [-r "reason"]

UNIX only: bpsetconfig -i | -e filename [-c class [-s schedule]]

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/admincmd/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\admincmd\

DESCRIPTION

The bpsetconfig command is used as a stand-alone program, or as a helper program with the backuptrace and the restoretrace commands, to update a configuration. This command is available for all NetBackup server platforms.

You must have administrator privileges to run this command.

OPTIONS

-e filename [-c class [-s schedule]]

Writes the exclude_list file to /usr/openv/netbackup/exclude_list on client client. The class (policy) and schedule qualifiers allow the exclude_list.class file and the exclude_list.class.schedule to be written. The files in the exclude list are excluded from being backed up.

This option applies only to UNIX.

filename,...

Specifies the file or files where the updates are listed. If not specified, standard input is read.

-h host

Specifies the host name of the server or client whose configuration is updated.

-i filename [-c class [-s schedule]]

Writes the include_list file to /usr/openv/netbackup/include_list on client class. The class (policy) and schedule qualifiers allow the include_list.class file and the include_list.class.schedule to be written. The files in the include list are the exceptions to the exclude list. They are therefore included in a backup operation.

This option applies only to UNIX.

-r "reason"

Indicates the reason why you choose this command action. The reason text string that you enter is captured and appears in the audit report. Enclose this string with double quotes ("..."). The string must not exceed 512 characters. It cannot begin with a dash character (-) nor contain a single quotation mark (').

-u user

Specifies the user whose configuration is updated.

EXAMPLE

Example 1 - Set a NetBackup configuration on a different system.

bpsetconfig -h orange.colors.org
SERVER = yellow.colors.org
SERVER = orange.colors.org

UNIX systems: Ctl+D

Windows systems: Ctl+Z

Sets the NetBackup configuration on the system orange.colors.org to the designated server that follows. That is, yellow.colors.org is the master server for the client orange.colors.org:

SERVER = yellow.colors.org
SERVER = orange.colors.org

Example 2 - Write the file /usr/openv/netbackup/lists/sun01_excl_list.fullb to /usr/openv/netbackup/excl_list.fullb on the client sun01.

# bpsetconfig -e /usr/openv/netbackup/lists/sun01_excl_list.fullb /
-h sun01 -c fullbck

SEE ALSO

See bpgetconfig .

See nbgetconfig .

See nbsetconfig .

Feedback

Was this page helpful?
Previous

bpschedulerep

Next

bpstsinfo

Feedback

Was this page helpful?