07-17-2012 06:02 AM
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 ?
Solved! Go to Solution.
07-17-2012 06:25 AM
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.
07-17-2012 06:25 AM
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.
07-17-2012 06:29 AM
Wannawin, you tried using the 'bp' or 'bpadm' commands. They are menu driven command line interfaces. Give them a go.
07-17-2012 09:25 AM
Thanx revaroo
was searching for this
07-17-2012 10:18 AM
I GUESS this is interview question that someone asked you ..... am i correct ?
07-17-2012 10:59 PM
yes this a interview question
Thanx revaroo for your help
07-18-2012 02:38 AM
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?
07-18-2012 02:46 AM
... but the commute might be bad!
07-18-2012 02:53 AM
10/10 granny.
Though i hate NBU CLI most.
GUI should have everything you need .
07-18-2012 02:59 AM
awesome answer marianne..
But i i gave this answer to him , i will surely rejected
07-18-2012 04:49 AM
Again my gussing was correct
(Sometimes a thought comes in my mind-that my 6th sense is really powerfull )
07-18-2012 06:41 AM
but have never created a policy from scratch using command line