Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
bpsetconfig — update a NetBackup configuration
SYNOPSIS
[-h host] [-u user] [filename,...] [-r "reason"]
UNIX only:
-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