|Article:HOWTO43678|||||Created: 2011-03-07|||||Updated: 2012-02-28|||||Article URL http://www.symantec.com/docs/HOWTO43678|
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 number] [-pt policy_type] [-residence label] [-rfile flag] [-data_class class | *NULL*] [-sg server_group | *ANY* | *NONE*] [-ut] [-generation generation] [-res_is_stl 0 | 1] [-reason "string"]
- policy_name -L | -l | -U
-L specifies a long 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:
-l specifies a short list type and produces a terse listing. This option is useful for scripts or the programs that rework the listing contents into a customized report format. A short listing contains the following information for the specified policy:
Line 1: "INFO", client_type, follow_nfs_mounts, client_compress, priority, proxy_client, client_encrypt, disaster recovery, max_jobs_per_policy, cross_mount_points, max_frag_size, active, collect_tir_info, block_incr, ext_sec_info, i_f_r_f_r, streaming, frozen_image, backup_copy, effective_date, policy ID, number_of_copies, checkpoint, chkpt_interval, policy_info_unused1, pfi_enabled, offhost_backup, use_alt_client, use_data_mover, data_mover_type, collect_bmr_info, res_is_ss, granular_restore_info, job_subtype
Selects the verbose mode. This option causes bpplinfo to log additional information for debugging purposes. The information goes into the NetBackup administration daily debug log. This option is meaningful only when NetBackup enables the debug log function (that is, when the following directory is defined):
UNIX and Linux systems: /usr/openv/netbackup/logs/admin
Windows systems: install_path\NetBackup\logs\admin
- -M master_server,...
A list of alternative master servers. This list is a comma-delimited list of hostnames. If this option is present, each master server in the list runs the bpplinfo command. Each master server in the list must allow access by the system that issues the bpplinfo command. If an error occurs for any master server, the process terminates at that point.
For the display form of bpplinfo, the report is the composite of the returned information from all the master servers in this list. bpplinfo queries each of these master servers. The master server returns information from its policy catalog.
- -active | -inactive
Set the policy to active or inactive. If the policy is active, NetBackup runs all its automatic schedules and permits user-directed backups and archives to be used. A policy must be active for an automatic backup to occur (the default).
If the policy is inactive, NetBackup does not run any automatic schedules or permit user-directed schedules to be used. This option is useful to inactivate a policy temporarily to prevent schedules from being used.
- -blkincr flag
- -chkpt [1|0]
- -chkpt_intrvl interval
Enables and disables the checkpoint interval for the policy. The variable interval is the checkpoint interval in minutes. The default interval is 15 minutes. The range for this interval is between 5 minutes and 180 minutes. If the checkpoint restart is not enabled, then this parameter has no effect.
- -collect_tir_info value
Collect true-image-recovery (TIR) information. True-image recovery allows NetBackup to restore a directory to exactly what it was at the time of any scheduled full or incremental backup. The files that are deleted before the selected backup time are not restored. After this attribute is enabled, NetBackup starts to collect additional information. It begins with the next full or incremental backup for the policy.
- -collect_bmr_info flag
If -collect_bmr_info is set to 1 but the policy does not collect true image restore information with move detection, Bare Metal Restore ignores the following: incremental backups and restore files from the last full backup.
- -compress flag
0 (disabled) or 1 (enabled). Specifies whether to compress files or not. If 1, the client software compresses the selected files onto the media. Compression may increase total backup time. If 0, the files are not compressed onto the media (the default).
- -crossmp flag
- -data_class class
- -disaster 0|1
- -ef effective time
- -encrypt flag
- -follownfs flag
0 (disabled) or 1 (enabled). Specifies whether to follow NFS mount points or not. For policy types MS-Windows and OS/2, setting this flag affects the policy attribute Backup network drives instead of the Follow NFS attribute.
- -granular_restore_info flag
- -job_subtype DUPLICATE | LIVEUPDATE
- -keyword "keyword phrase"
The value is associated with all backups created by using this policy. The keyword phrase can be used to link related policies. It can also be used during restores to search only for the backups that have the keyword phrase association.
- -M master_server,...
- -multiple_streams flag
- policy_name -set | -modify
- -pool label
Specifies the volume pool for the policy. The default is NetBackup. The volume pool should be one of the volume pools for the policy storage unit. This attribute is not relevant if a disk storage unit is the residence for the policy. If the policy storage unit is Any_available (Residence: - appears on the bpplinfo display), the volume pool for any storage unit can be selected. If "*NULL*" is specified, the volume pool is set to NetBackup. To display the configured volume pools, run the following command:
UNIX and Linux systems: /usr/openv/volmgr/bin/vmpool -listall
Windows systems: install_path\Volmgr\bin\vmpool -listall
- -policyjobs max_jobs
The maximum number of concurrent jobs that NetBackup allows for this policy (corresponds to the Limit Jobs per Policy setting in the administration interface). max_jobs is always greater than or equal to 0.
- -priority number
The priority of this policy in relation to other policies. Priority is greater than or equal to 0. This value determines the order in which policies are run. The higher the value, the earlier the policy is run. The default is 0, which is the lowest priority.
- -pt policy_type
Informix-On-BAR Lotus-Notes MS-Exchange-Server MS-SharePoint MS-SQL-Server MS-Windows NDMP NetWare Oracle OS/2 Standard Sybase
AFS DataTools-SQL-BackTrack DB2 Enterprise-Vault FlashBackup FlashBackup-Windows SAP Split-Mirror Vault
- -reason "string"
Indicates the reason why you are performing this command action. The reason text string that you enter is captured and appears in the audit report. The string must be enclosed by double quotes ("...") and cannot exceed 512 characters. It cannot begin with a dash character (-) nor contain a single quotation mark (').
- -res_is_stl 0 | 1
- -residence label
Specifies the label of the storage unit for storing the backups that were created according to this schedule. The default is Any_available, which allows the policy to use any storage unit whose On demand only attribute is set to No. If the policy needs to use a specific storage unit or the desired storage unit has its On demand only attribute set to Yes, then specify the storage unit. If "*NULL*" is specified, the residence for the schedule is set (or reset) to Any_available. The policy residence determines the residence for the policy schedules, unless the Override Policy Storage Unit setting on an individual schedule specifies a residence. Run bpstulist to display the set of defined storage units.
- -rfile flag
- -sg [server_group | *ANY* | *NONE*]
Specifies the server group(s) for the schedule. Do not use this option if the schedule resides on a disk storage unit. If *NONE* is specified, the writing media server owns the media that this policy writes. If *ANY* is specified, EMM chooses the media owner. *ANY* is the default value. Otherwise, the named share group owns the media. Specify a share group for each copy to display the configured share groups. Enter the following command:
UNIX and Linux systems: /usr/openv/netbackup/bin/admincmd/nbsvrgrp -list -summary
Windows systems: install_path\NetBackup\bin\admincmd\nbsvrgrp -list -summary
bpplinfo tstpolicy -modify -residence tstunit bpplinfo tstpolicy -L Policy Type: Standard (0) Active: no Effective: no Follow NFS Mounts: no Cross Mount Points: no Client Compress: no Collect TIR Info: no Policy Priority: 0 Ext Security Info: no File Restore Raw: no Client Encrypt: no Max Jobs/Policy: 8 Mult. Data Streams: 1 Block Level Incremental: no Perform Snapshot Backup: no Backup Copy: 0 Date Mover Type: 2 Use Alternate Client: no Alternate Client Name: (none) Enable Instant Recovery: no Disaster Recovery: 0 Collect BMR Info: no Max Frag Size: 0 MB (1048576 MB) Checkpoint Restart: no Residence: tstunit Volume Pool: NetBackup
# bpplinfo test1 -modify -active
# bpplinfo tstpolicy -set # bpplinfo tstpolicy -L Policy Type: Standard (0) Active: yes Follow NFS Mounts: no Cross Mount Points: no Client Compress: no Collect TIR Info: no Policy Priority: 0 Ext Security Info: no File Restore Raw: no Client Encrypt: no Multiple Streams: 0 Disaster Recovery: 0 Max Jobs/Policy: 8 Disaster Recovery: 0 Collect BMR Info: no Max Frag Size: 0 MB (1048576 MB) Residence: - Volume Pool: NetBackup
# bpplinfo mkbpolicy -l INFO 0 0 0 0 *NULL* 0 0 99 0 0 0 0 0 0 0 0 *NULL* 1 KEY my temp directory BCMD *NULL* RCMD *NULL* RES mkbunit *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* POOL NetBackup *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* FOE 0 0 0 0 0 0 0 0 0 0
Article URL http://www.symantec.com/docs/HOWTO43678