Forum Discussion

Anderson_Santos's avatar
12 years ago

how do I get the policy settings for netbackup?

example:

 

  Schedule:          SERV-DC02__DIFF

    Type:            Differential Incremental Backup

    Frequency:       every 1 day

    Maximum MPX:     0

    Synthetic:       0

    PFI Recovery:    0

    Retention Level: 3 (1 month)

    Number Copies:   1

    Fail on Error:   0

    Residence:       (specific storage unit not required)

    Volume Pool:     (same as policy volume pool)

    Server Group:    *ANY*

    Residence is Storage Lifecycle Policy:     0

    Daily Windows:

          domingo    22:00:00  -->  segunda-f  06:00:00

          segunda-f  22:00:00  -->  terça-fei  06:00:00

          terça-fei  22:00:00  -->  quarta-fe  06:00:00

          quinta-fe  22:00:00  -->  sexta-fei  06:00:00

          sexta-fei  22:00:00  -->  sábado     06:00:00

          sabado     22:00:00  -->  domingo   06:00:00

  • In unix you can use this script for all policy.

     

    echo "List all NBU policies"
    /usr/openv/netbackup/bin/admincmd/bppllist > /tmp/output.txt
    echo ""
    echo "Get detail info on each policy"
     
    echo ""
    for i in `cat /tmp/output.txt`
    do
    echo "Get detail info on policy $i"
    /usr/openv/netbackup/bin/admincmd/bppllist $i -U >> /tmp/outputpolicy.txt
    done
  • The path is $INSTALL_DIR\netbackup\bin\admincmd\bppllist <policy name> -U

    If the $PATH is not set in your cmd window then you may have to cd to it.

  • In unix you can use this script for all policy.

     

    echo "List all NBU policies"
    /usr/openv/netbackup/bin/admincmd/bppllist > /tmp/output.txt
    echo ""
    echo "Get detail info on each policy"
     
    echo ""
    for i in `cat /tmp/output.txt`
    do
    echo "Get detail info on policy $i"
    /usr/openv/netbackup/bin/admincmd/bppllist $i -U >> /tmp/outputpolicy.txt
    done
  •  

    Hi Anderson,
    Below are two commands which can be used to check policy related information. This might help you to get the details/information you are seeking for.
     
    1) bpplinfo - manage or display policy attributes for NetBackup
    
    
    /usr/openv/netbackup/bin/admincmd/bpplinfo policy_name -L 
    
    
    To List information for this policy. This option is required.
    
    
    It specifies a list type and produces a listing with one policy attribute per line, in the format policy_attribute: value. The value can be expressed both in numeric and name form. 
    
    
    Fields in the list include:
    
    
    Policy Type
    
    Active
    
    Follow NFS Mounts (applies only to NetBackup Enterprise Server)
    
    Cross Mount Points
    
    Client Compress
    
    Collect TIR Info
    
    Policy Priority
    
    Ext Security Info
    
    File Restore Raw
    
    Client Encrypt
    
    Max Jobs/Policy
    
    Mult. Data Stream
    
    Snapshot
    
    Backup Copy
    
    Disaster Recovery
    
    Collect BMR Info
    
    Max Frag Size
    
    Residence
    
    Volume Pool
    
    Share Group
    
    
    
    
    2) bppllist - list policy information
    
    
    /usr/openv/netbackup/bin/admincmd/bppllist [policyname] -L