cancel
Showing results for 
Search instead for 
Did you mean: 

policy configuration

wannawin
Level 6

How to configure a policy through command line.

I know there are multiple commands used for this.

I know one or two commands.

E.G.

1.bpplclients: to add client , delete client, rename client in policy.

2../bpplinclude : TO ADD BACKUP SELECTION

3../bpplclients: to add clients

 

But how add attributes ?

1 ACCEPTED SOLUTION

Accepted Solutions

Andy_Welburn
Level 6


NAME
     bpplinfo - manage or display policy attributes for NetBackup

SYNOPSIS
     /usr/openv/netbackup/bin/admincmd/bpplinfo policy_name -L  |
          -l | -U [-v] [-M master_server,...]

      policy_name -set  |  -modify  [-v]  [-active  |  -inactive]
          [-blkincr  flag] [-chkpt flag] [-chkpt_intrvl interval]
          [-collect_bmr_info  flag]   [-collect_tir_info   value]
          [-compress  flag] [-crossmp flag] [-disaster flag] [-ef
          effective_time]  [-encrypt  flag]   [-follownfs   flag]
          [-granular_restore_info  0  | 1] [-job_subtype sub_type
          [-keyword  "keyword  phrase"]  [-M   master_server,...]
          [-multiple_streams  flag] [-policyjobs max_jobs] [-pool
          label]   [-priority   priority]    [-pt    policy_type]
          [-residence  label]  [-rfile flag] [-data_class class |
          *NULL*] [-sg server_group | *ANY* | *NONE*] [-ut]

     /usr/openv/netbackup/bin/admincmd/bpplinfo policy_name -help

DESCRIPTION
     bpplinfo initializes, modifies, or  displays  the  attribute
     values for a NetBackup policy.

View solution in original post

11 REPLIES 11

Andy_Welburn
Level 6


NAME
     bpplinfo - manage or display policy attributes for NetBackup

SYNOPSIS
     /usr/openv/netbackup/bin/admincmd/bpplinfo policy_name -L  |
          -l | -U [-v] [-M master_server,...]

      policy_name -set  |  -modify  [-v]  [-active  |  -inactive]
          [-blkincr  flag] [-chkpt flag] [-chkpt_intrvl interval]
          [-collect_bmr_info  flag]   [-collect_tir_info   value]
          [-compress  flag] [-crossmp flag] [-disaster flag] [-ef
          effective_time]  [-encrypt  flag]   [-follownfs   flag]
          [-granular_restore_info  0  | 1] [-job_subtype sub_type
          [-keyword  "keyword  phrase"]  [-M   master_server,...]
          [-multiple_streams  flag] [-policyjobs max_jobs] [-pool
          label]   [-priority   priority]    [-pt    policy_type]
          [-residence  label]  [-rfile flag] [-data_class class |
          *NULL*] [-sg server_group | *ANY* | *NONE*] [-ut]

     /usr/openv/netbackup/bin/admincmd/bpplinfo policy_name -help

DESCRIPTION
     bpplinfo initializes, modifies, or  displays  the  attribute
     values for a NetBackup policy.

revarooo
Level 6
Employee

Wannawin, you tried using the 'bp' or 'bpadm' commands. They are menu driven command line interfaces. Give them a go.

 

V4
Level 6
Partner Accredited

Thanx revaroo

was searching for this

Yogesh9881
Level 6
Accredited

I GUESS this is interview question that someone asked you ..... am i correct ? 

wannawin
Level 6

yes this a interview question

 

Thanx revaroo for your help

Marianne
Level 6
Partner    VIP    Accredited Certified

My interview answers are always everything but the expected answers....

WHY would anyone want to use cmd?

There are GUI's - they run ON the backup server by default. You can also install GUI's for each NBU flavour on backup admin's PC/laptop/desktop.

It is a LOT quicker to use GUI than try and figure out command parameters.

In my 13 years with NBU I have used LOTS of NBU commands - creating policy commands are NOT among them. I have never needed to. 
A cmd-fanatic can read up in Command Reference guide - I can give you URLs to all versions.
 

### So, how did my interview go?

wink

Andy_Welburn
Level 6

... but the commute might be bad!

V4
Level 6
Partner Accredited

10/10  granny.

Though i hate NBU CLI  most.

GUI should have everything you need .

wannawin
Level 6

awesome answer marianne..

 

But i i gave this answer to him , i will surely rejectedsmiley

Yogesh9881
Level 6
Accredited

 

Again my gussing was correct wink 

(Sometimes a thought comes in my mind-that my 6th sense is really powerfull )

 

Will_Restore
Level 6

but have never created a policy from scratch using command line