Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Backup and Recovery Community Blog

What does mean each parameter in bpsetconfig/bpgetconfig?

Created: 14 Feb 2012
Carmen García's picture
+1 1 Vote
Login to vote

Hello everybody:

   When you create or consult an exclude/include list, it is neccesary to know what means all the parameters in these commands for the most efficient exclude/include list creation or search:

 1.- These commands is used too for edit, remotly, the server's bp.conf file, CAUTION¡¡

 2.- For include/exclude list, it's " -i | -e  " options in both parameters.

 3.- Many policies that contains the same client is an usual configuration, so:

              - Identify in which policies is the client/server => to refers each one in the bpsetconfig/bpgetconfig commands, use " -c " option

                * This option refers each entry in the "class" directory used to list all the policies that exists in the NetBackup configuration

                  (/usr/openv/netbackup/db/class).

    3.1.- A policy uses to contains some schedules, so:

                     - Study if there are various schedules in the policies listed in 3; => to refers each one in the bpsetconfig/bpgetconfig commands, use

                     "-s " option, come before the policy in wich the schedule exists, with " -c " option. (Look 3.-)

 

An example:

 

For create an exclude list  wich apply for all client's backups:

bpsetconfig -h host -e excludeGeneral.txt

Look in the host's  /usr/openv/netbackup directory, it appears a exclude list named "excludeGeneral" wich listst he excludeGeneral.txt's contents

    ls -l /usr/openv/netbackup

    excludeGeneral

 

For create an exclude list wich is applied only for the client's backups runs by the policy "Policy":

bpsetconfig -h host -e excludePol.txt -c Policy

Look in the host's  /usr/openv/netbackup directory, it appears a exclude list named "excludePol.Policy" wich lists the excludePol.txt's contents

    ls -l /usr/openv/netbackup

    excludePol.Policy

 

Regards.